llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmp7rw525hf.c'
source_filename = "/tmp/tmp7rw525hf.c"
target datalayout = "e-m:e-p270: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/tmp7rw525hf.c"
target datalayout = "e-m:e-p270: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/tmpukiuj4xl.c'
source_filename = "/tmp/tmpukiuj4xl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @multiply(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%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 i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 48
br i1 %14, label %20, label %15
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 48
br i1 %19, label %20, label %21
20: ; preds = %15, %2
store ptr @.str, ptr %3, align 8
br label %55
21: ; preds = %15
%22 = load ptr, ptr %4, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = sub nsw i32 %23, 1
store i32 %24, ptr %6, align 4
%25 = call i64 @malloc(i32 noundef 2)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %7, align 8
%27 = load ptr, ptr %7, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
store i8 48, ptr %28, align 1
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 1
store i8 0, ptr %30, align 1
store i32 0, ptr %9, align 4
br label %31
31: ; preds = %50, %21
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %35, label %53
35: ; preds = %31
%36 = load ptr, ptr %5, align 8
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %9, align 4
%40 = sub nsw i32 %38, %39
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %37, i64 %41
%43 = load i8, ptr %42, align 1
%44 = load i32, ptr %9, align 4
%45 = call ptr @_multiply(ptr noundef %36, i8 noundef signext %43, i32 noundef %44)
store ptr %45, ptr %10, align 8
%46 = load ptr, ptr %7, align 8
%47 = load ptr, ptr %10, align 8
%48 = call ptr @addStrings(ptr noundef %46, ptr noundef %47)
store ptr %48, ptr %8, align 8
%49 = load ptr, ptr %8, align 8
store ptr %49, ptr %7, align 8
br label %50
50: ; preds = %35
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %9, align 4
br label %31, !llvm.loop !6
53: ; preds = %31
%54 = load ptr, ptr %8, align 8
store ptr %54, ptr %3, align 8
br label %55
55: ; preds = %53, %20
%56 = load ptr, ptr %3, align 8
ret ptr %56
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare ptr @_multiply(ptr noundef, i8 noundef signext, i32 noundef) #1
declare ptr @addStrings(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/tmpukiuj4xl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @multiply(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%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 i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 48
br i1 %14, label %20, label %15
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 48
br i1 %19, label %20, label %21
20: ; preds = %15, %2
store ptr @.str, ptr %3, align 8
br label %57
21: ; preds = %15
%22 = load ptr, ptr %4, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = sub nsw i32 %23, 1
store i32 %24, ptr %6, align 4
%25 = call i64 @malloc(i32 noundef 2)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %7, align 8
%27 = load ptr, ptr %7, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
store i8 48, ptr %28, align 1
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 1
store i8 0, ptr %30, align 1
store i32 0, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %.lr.ph, label %55
.lr.ph: ; preds = %21
br label %34
34: ; preds = %.lr.ph, %49
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %9, align 4
%39 = sub nsw i32 %37, %38
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %36, i64 %40
%42 = load i8, ptr %41, align 1
%43 = load i32, ptr %9, align 4
%44 = call ptr @_multiply(ptr noundef %35, i8 noundef signext %42, i32 noundef %43)
store ptr %44, ptr %10, align 8
%45 = load ptr, ptr %7, align 8
%46 = load ptr, ptr %10, align 8
%47 = call ptr @addStrings(ptr noundef %45, ptr noundef %46)
store ptr %47, ptr %8, align 8
%48 = load ptr, ptr %8, align 8
store ptr %48, ptr %7, align 8
br label %49
49: ; preds = %34
%50 = load i32, ptr %9, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %9, align 4
%52 = load i32, ptr %9, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp sle i32 %52, %53
br i1 %54, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %21
%56 = load ptr, ptr %8, align 8
store ptr %56, ptr %3, align 8
br label %57
57: ; preds = %55, %20
%58 = load ptr, ptr %3, align 8
ret ptr %58
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare ptr @_multiply(ptr noundef, i8 noundef signext, i32 noundef) #1
declare ptr @addStrings(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/tmp370dh4gb.c'
source_filename = "/tmp/tmp370dh4gb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"MALLOC_TRACE\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"/dev/stdout\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [9 x i8] c"trim %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @setenv(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 0)
%4 = call i32 (...) @mtrace()
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %14, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 1024
br i1 %7, label %8, label %17
8: ; preds = %5
%9 = call i32 (...) @rand()
%10 = srem i32 %9, 1024
%11 = mul nsw i32 1024, %10
%12 = call i32 @malloc(i32 noundef %11)
%13 = call i32 @free(i32 noundef %12)
br label %14
14: ; preds = %8
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %5, !llvm.loop !6
17: ; preds = %5
%18 = call i32 (...) @malloc_stats()
%19 = load i32, ptr @stdout, align 4
%20 = call i32 @malloc_info(i32 noundef 0, i32 noundef %19)
%21 = call i32 (...) @dumpmallinfo()
%22 = call i32 @malloc_trim(i32 noundef 1024)
%23 = call i32 @printf(ptr noundef @.str.2, i32 noundef %22)
%24 = call i32 (...) @muntrace()
ret i32 0
}
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @mtrace(...) #1
declare i32 @free(i32 noundef) #1
declare i32 @malloc(i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @malloc_stats(...) #1
declare i32 @malloc_info(i32 noundef, i32 noundef) #1
declare i32 @dumpmallinfo(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @malloc_trim(i32 noundef) #1
declare i32 @muntrace(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp370dh4gb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"MALLOC_TRACE\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"/dev/stdout\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [9 x i8] c"trim %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @setenv(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 0)
%4 = call i32 (...) @mtrace()
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 1024
br i1 %6, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %13
%8 = call i32 (...) @rand()
%9 = srem i32 %8, 1024
%10 = mul nsw i32 1024, %9
%11 = call i32 @malloc(i32 noundef %10)
%12 = call i32 @free(i32 noundef %11)
br label %13
13: ; preds = %7
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 1024
br i1 %17, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
%19 = call i32 (...) @malloc_stats()
%20 = load i32, ptr @stdout, align 4
%21 = call i32 @malloc_info(i32 noundef 0, i32 noundef %20)
%22 = call i32 (...) @dumpmallinfo()
%23 = call i32 @malloc_trim(i32 noundef 1024)
%24 = call i32 @printf(ptr noundef @.str.2, i32 noundef %23)
%25 = call i32 (...) @muntrace()
ret i32 0
}
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @mtrace(...) #1
declare i32 @free(i32 noundef) #1
declare i32 @malloc(i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @malloc_stats(...) #1
declare i32 @malloc_info(i32 noundef, i32 noundef) #1
declare i32 @dumpmallinfo(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @malloc_trim(i32 noundef) #1
declare i32 @muntrace(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpsen67mp1.c'
source_filename = "/tmp/tmpsen67mp1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_backtick(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [2 x i32], align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr null, ptr %7, align 8
%8 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%9 = call i32 @pipe(ptr noundef %8)
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %16
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @perror(ptr noundef %14)
store ptr null, ptr %2, align 8
br label %47
16: ; preds = %1
%17 = call i32 (...) @fork()
store i32 %17, ptr %5, align 4
switch i32 %17, label %36 [
i32 -1, label %18
i32 0, label %19
]
18: ; preds = %16
store ptr null, ptr %2, align 8
br label %47
19: ; preds = %16
%20 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%21 = load i32, ptr %20, align 4
%22 = call i32 @close(i32 noundef %21)
%23 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%24 = load i32, ptr %23, align 4
%25 = call i32 @dup2(i32 noundef %24, i32 noundef 1)
%26 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%27 = load i32, ptr %26, align 4
%28 = call i32 @close(i32 noundef %27)
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
%31 = load ptr, ptr %30, align 8
%32 = load ptr, ptr %3, align 8
%33 = call i32 @execvp(ptr noundef %31, ptr noundef %32)
%34 = load i32, ptr @errno, align 4
%35 = call i32 @exit(i32 noundef %34) #3
unreachable
36: ; preds = %16
%37 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%38 = load i32, ptr %37, align 4
%39 = call i32 @close(i32 noundef %38)
%40 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%41 = load i32, ptr %40, align 4
%42 = call ptr @fd2str(i32 noundef %41)
store ptr %42, ptr %7, align 8
%43 = load i32, ptr %5, align 4
%44 = call i32 @waitpid(i32 noundef %43, ptr noundef %6, i32 noundef 0)
br label %45
45: ; preds = %36
%46 = load ptr, ptr %7, align 8
store ptr %46, ptr %2, align 8
br label %47
47: ; preds = %45, %18, %11
%48 = load ptr, ptr %2, align 8
ret ptr %48
}
declare i32 @pipe(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fd2str(i32 noundef) #1
declare i32 @waitpid(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" }
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/tmpsen67mp1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_backtick(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [2 x i32], align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr null, ptr %7, align 8
%8 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%9 = call i32 @pipe(ptr noundef %8)
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %16
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @perror(ptr noundef %14)
store ptr null, ptr %2, align 8
br label %47
16: ; preds = %1
%17 = call i32 (...) @fork()
store i32 %17, ptr %5, align 4
switch i32 %17, label %36 [
i32 -1, label %18
i32 0, label %19
]
18: ; preds = %16
store ptr null, ptr %2, align 8
br label %47
19: ; preds = %16
%20 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%21 = load i32, ptr %20, align 4
%22 = call i32 @close(i32 noundef %21)
%23 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%24 = load i32, ptr %23, align 4
%25 = call i32 @dup2(i32 noundef %24, i32 noundef 1)
%26 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%27 = load i32, ptr %26, align 4
%28 = call i32 @close(i32 noundef %27)
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
%31 = load ptr, ptr %30, align 8
%32 = load ptr, ptr %3, align 8
%33 = call i32 @execvp(ptr noundef %31, ptr noundef %32)
%34 = load i32, ptr @errno, align 4
%35 = call i32 @exit(i32 noundef %34) #3
unreachable
36: ; preds = %16
%37 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%38 = load i32, ptr %37, align 4
%39 = call i32 @close(i32 noundef %38)
%40 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%41 = load i32, ptr %40, align 4
%42 = call ptr @fd2str(i32 noundef %41)
store ptr %42, ptr %7, align 8
%43 = load i32, ptr %5, align 4
%44 = call i32 @waitpid(i32 noundef %43, ptr noundef %6, i32 noundef 0)
br label %45
45: ; preds = %36
%46 = load ptr, ptr %7, align 8
store ptr %46, ptr %2, align 8
br label %47
47: ; preds = %45, %18, %11
%48 = load ptr, ptr %2, align 8
ret ptr %48
}
declare i32 @pipe(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fd2str(i32 noundef) #1
declare i32 @waitpid(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" }
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/tmpu365h6bq.c'
source_filename = "/tmp/tmpu365h6bq.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
br label %6
6: ; preds = %17, %2
%7 = load i64, ptr %4, align 8
%8 = icmp ugt i64 %7, 0
br i1 %8, label %9, label %24
9: ; preds = %6
%10 = load i32, ptr @STDOUT_FILENO, align 4
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %4, align 8
%13 = call i64 @write(i32 noundef %10, ptr noundef %11, i64 noundef %12)
store i64 %13, ptr %5, align 8
%14 = load i64, ptr %5, align 8
%15 = icmp slt i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %9
br label %24
17: ; preds = %9
%18 = load i64, ptr %5, align 8
%19 = load i64, ptr %4, align 8
%20 = sub i64 %19, %18
store i64 %20, ptr %4, align 8
%21 = load i64, ptr %5, align 8
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 %21
store ptr %23, ptr %3, align 8
br label %6, !llvm.loop !6
24: ; preds = %16, %6
ret void
}
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu365h6bq.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = icmp ugt i64 %6, 0
br i1 %7, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %16
%9 = load i32, ptr @STDOUT_FILENO, align 4
%10 = load ptr, ptr %3, align 8
%11 = load i64, ptr %4, align 8
%12 = call i64 @write(i32 noundef %9, ptr noundef %10, i64 noundef %11)
store i64 %12, ptr %5, align 8
%13 = load i64, ptr %5, align 8
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %8
br label %25
16: ; preds = %8
%17 = load i64, ptr %5, align 8
%18 = load i64, ptr %4, align 8
%19 = sub i64 %18, %17
store i64 %19, ptr %4, align 8
%20 = load i64, ptr %5, align 8
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 %20
store ptr %22, ptr %3, align 8
%23 = load i64, ptr %4, align 8
%24 = icmp ugt i64 %23, 0
br i1 %24, label %8, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %16
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %25
25: ; preds = %.loopexit, %15
ret void
}
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqtlxdiub.c'
source_filename = "/tmp/tmpqtlxdiub.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 @foo(i64 noundef 1, i32 noundef 0)
%2 = call i32 @bar(i64 noundef 1, i32 noundef 0)
ret i32 0
}
declare i32 @foo(i64 noundef, i32 noundef) #1
declare i32 @bar(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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqtlxdiub.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 @foo(i64 noundef 1, i32 noundef 0)
%2 = call i32 @bar(i64 noundef 1, i32 noundef 0)
ret i32 0
}
declare i32 @foo(i64 noundef, i32 noundef) #1
declare i32 @bar(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"}
|
; ModuleID = '/tmp/tmpkdtz9vtw.c'
source_filename = "/tmp/tmpkdtz9vtw.c"
target datalayout = "e-m:e-p270: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/tmpkdtz9vtw.c"
target datalayout = "e-m:e-p270: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/tmp9o_t9gjw.c'
source_filename = "/tmp/tmp9o_t9gjw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_memcmp_14(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @memcmp(ptr noundef %8, ptr noundef %9, i32 noundef 14)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %3
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %13
%17 = call i32 (...) @abort() #3
unreachable
18: ; preds = %13, %3
%19 = load i32, ptr %7, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %18
%22 = load i32, ptr %6, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = call i32 (...) @abort() #3
unreachable
26: ; preds = %21, %18
%27 = load i32, ptr %7, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %34
29: ; preds = %26
%30 = load i32, ptr %6, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %29
%33 = call i32 (...) @abort() #3
unreachable
34: ; preds = %29, %26
ret void
}
declare i32 @memcmp(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/tmp9o_t9gjw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_memcmp_14(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @memcmp(ptr noundef %8, ptr noundef %9, i32 noundef 14)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %3
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %13
%17 = call i32 (...) @abort() #3
unreachable
18: ; preds = %13, %3
%19 = load i32, ptr %7, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %18
%22 = load i32, ptr %6, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = call i32 (...) @abort() #3
unreachable
26: ; preds = %21, %18
%27 = load i32, ptr %7, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %34
29: ; preds = %26
%30 = load i32, ptr %6, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %29
%33 = call i32 (...) @abort() #3
unreachable
34: ; preds = %29, %26
ret void
}
declare i32 @memcmp(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/tmp6704qu17.c'
source_filename = "/tmp/tmp6704qu17.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @code_i2c() #0 {
%1 = call i32 @makeCODEi2c(ptr noundef null)
%2 = call i32 @appendCODE(i32 noundef %1)
ret void
}
declare i32 @appendCODE(i32 noundef) #1
declare i32 @makeCODEi2c(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6704qu17.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @code_i2c() #0 {
%1 = call i32 @makeCODEi2c(ptr noundef null)
%2 = call i32 @appendCODE(i32 noundef %1)
ret void
}
declare i32 @appendCODE(i32 noundef) #1
declare i32 @makeCODEi2c(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsg7xxcxn.c'
source_filename = "/tmp/tmpsg7xxcxn.c"
target datalayout = "e-m:e-p270: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/tmpsg7xxcxn.c"
target datalayout = "e-m:e-p270: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/tmpvc1ksbby.c'
source_filename = "/tmp/tmpvc1ksbby.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @skipstr_easy_test()
ret i32 0
}
declare i32 @skipstr_easy_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/tmpvc1ksbby.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @skipstr_easy_test()
ret i32 0
}
declare i32 @skipstr_easy_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/tmp1r2lsp8r.c'
source_filename = "/tmp/tmp1r2lsp8r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @initTime(i32 noundef 5, i32 noundef 0)
br label %3
3: ; preds = %3, %0
br label %3
}
declare i32 @initTime(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/tmp1r2lsp8r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @initTime(i32 noundef 5, i32 noundef 0)
br label %3
3: ; preds = %3, %0
br label %3
}
declare i32 @initTime(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/tmpxq_f8u6h.c'
source_filename = "/tmp/tmpxq_f8u6h.c"
target datalayout = "e-m:e-p270: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.list1 = private unnamed_addr constant [1 x i32] [i32 10], align 4
@__const.main.list2 = private unnamed_addr constant [2 x i32] [i32 10, i32 3], align 4
@__const.main.list3 = private unnamed_addr constant [3 x i32] [i32 20, i32 3, i32 1], align 4
@__const.main.list4 = private unnamed_addr constant [2 x i32] [i32 3, i32 10], align 4
@__const.main.list5 = private unnamed_addr constant [3 x i32] [i32 3, i32 10, i32 20], align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1 x i32], align 4
%3 = alloca i32, align 4
%4 = alloca [2 x i32], align 4
%5 = alloca [3 x i32], align 4
%6 = alloca [2 x i32], align 4
%7 = alloca [3 x i32], align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.list1, i64 4, i1 false)
store i32 1, ptr %3, align 4
%8 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
%9 = load i32, ptr %3, align 4
%10 = call i32 @printArr(ptr noundef %8, i32 noundef %9)
%11 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
%12 = load i32, ptr %3, align 4
%13 = call i32 @selectionSort(ptr noundef %11, i32 noundef %12)
%14 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
%15 = load i32, ptr %3, align 4
%16 = call i32 @printArr(ptr noundef %14, i32 noundef %15)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 @__const.main.list2, i64 8, i1 false)
store i32 2, ptr %3, align 4
%17 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%18 = load i32, ptr %3, align 4
%19 = call i32 @printArr(ptr noundef %17, i32 noundef %18)
%20 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%21 = load i32, ptr %3, align 4
%22 = call i32 @selectionSort(ptr noundef %20, i32 noundef %21)
%23 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%24 = load i32, ptr %3, align 4
%25 = call i32 @printArr(ptr noundef %23, i32 noundef %24)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const.main.list3, i64 12, i1 false)
store i32 3, ptr %3, align 4
%26 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 0
%27 = load i32, ptr %3, align 4
%28 = call i32 @printArr(ptr noundef %26, i32 noundef %27)
%29 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 0
%30 = load i32, ptr %3, align 4
%31 = call i32 @selectionSort(ptr noundef %29, i32 noundef %30)
%32 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 0
%33 = load i32, ptr %3, align 4
%34 = call i32 @printArr(ptr noundef %32, i32 noundef %33)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.main.list4, i64 8, i1 false)
store i32 2, ptr %3, align 4
%35 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%36 = load i32, ptr %3, align 4
%37 = call i32 @printArr(ptr noundef %35, i32 noundef %36)
%38 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%39 = load i32, ptr %3, align 4
%40 = call i32 @selectionSort(ptr noundef %38, i32 noundef %39)
%41 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%42 = load i32, ptr %3, align 4
%43 = call i32 @printArr(ptr noundef %41, i32 noundef %42)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 @__const.main.list5, i64 12, i1 false)
store i32 3, ptr %3, align 4
%44 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 0
%45 = load i32, ptr %3, align 4
%46 = call i32 @printArr(ptr noundef %44, i32 noundef %45)
%47 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 0
%48 = load i32, ptr %3, align 4
%49 = call i32 @selectionSort(ptr noundef %47, i32 noundef %48)
%50 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 0
%51 = load i32, ptr %3, align 4
%52 = call i32 @printArr(ptr noundef %50, i32 noundef %51)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printArr(ptr noundef, i32 noundef) #2
declare i32 @selectionSort(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxq_f8u6h.c"
target datalayout = "e-m:e-p270: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.list1 = private unnamed_addr constant [1 x i32] [i32 10], align 4
@__const.main.list2 = private unnamed_addr constant [2 x i32] [i32 10, i32 3], align 4
@__const.main.list3 = private unnamed_addr constant [3 x i32] [i32 20, i32 3, i32 1], align 4
@__const.main.list4 = private unnamed_addr constant [2 x i32] [i32 3, i32 10], align 4
@__const.main.list5 = private unnamed_addr constant [3 x i32] [i32 3, i32 10, i32 20], align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1 x i32], align 4
%3 = alloca i32, align 4
%4 = alloca [2 x i32], align 4
%5 = alloca [3 x i32], align 4
%6 = alloca [2 x i32], align 4
%7 = alloca [3 x i32], align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.list1, i64 4, i1 false)
store i32 1, ptr %3, align 4
%8 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
%9 = load i32, ptr %3, align 4
%10 = call i32 @printArr(ptr noundef %8, i32 noundef %9)
%11 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
%12 = load i32, ptr %3, align 4
%13 = call i32 @selectionSort(ptr noundef %11, i32 noundef %12)
%14 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
%15 = load i32, ptr %3, align 4
%16 = call i32 @printArr(ptr noundef %14, i32 noundef %15)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 @__const.main.list2, i64 8, i1 false)
store i32 2, ptr %3, align 4
%17 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%18 = load i32, ptr %3, align 4
%19 = call i32 @printArr(ptr noundef %17, i32 noundef %18)
%20 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%21 = load i32, ptr %3, align 4
%22 = call i32 @selectionSort(ptr noundef %20, i32 noundef %21)
%23 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%24 = load i32, ptr %3, align 4
%25 = call i32 @printArr(ptr noundef %23, i32 noundef %24)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const.main.list3, i64 12, i1 false)
store i32 3, ptr %3, align 4
%26 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 0
%27 = load i32, ptr %3, align 4
%28 = call i32 @printArr(ptr noundef %26, i32 noundef %27)
%29 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 0
%30 = load i32, ptr %3, align 4
%31 = call i32 @selectionSort(ptr noundef %29, i32 noundef %30)
%32 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 0
%33 = load i32, ptr %3, align 4
%34 = call i32 @printArr(ptr noundef %32, i32 noundef %33)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.main.list4, i64 8, i1 false)
store i32 2, ptr %3, align 4
%35 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%36 = load i32, ptr %3, align 4
%37 = call i32 @printArr(ptr noundef %35, i32 noundef %36)
%38 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%39 = load i32, ptr %3, align 4
%40 = call i32 @selectionSort(ptr noundef %38, i32 noundef %39)
%41 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%42 = load i32, ptr %3, align 4
%43 = call i32 @printArr(ptr noundef %41, i32 noundef %42)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 @__const.main.list5, i64 12, i1 false)
store i32 3, ptr %3, align 4
%44 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 0
%45 = load i32, ptr %3, align 4
%46 = call i32 @printArr(ptr noundef %44, i32 noundef %45)
%47 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 0
%48 = load i32, ptr %3, align 4
%49 = call i32 @selectionSort(ptr noundef %47, i32 noundef %48)
%50 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 0
%51 = load i32, ptr %3, align 4
%52 = call i32 @printArr(ptr noundef %50, i32 noundef %51)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printArr(ptr noundef, i32 noundef) #2
declare i32 @selectionSort(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1h1rwq78.c'
source_filename = "/tmp/tmp1h1rwq78.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @f1()
%2 = icmp eq i32 %1, 1
%3 = zext i1 %2 to i32
%4 = call i32 @assert(i32 noundef %3)
%5 = call i32 (...) @f2()
%6 = icmp eq i32 %5, 2
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @f1(...) #1
declare i32 @f2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1h1rwq78.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @f1()
%2 = icmp eq i32 %1, 1
%3 = zext i1 %2 to i32
%4 = call i32 @assert(i32 noundef %3)
%5 = call i32 (...) @f2()
%6 = icmp eq i32 %5, 2
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @f1(...) #1
declare i32 @f2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoyto_s8s.c'
source_filename = "/tmp/tmpoyto_s8s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_filename_from_path(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %3
store i32 -1, ptr %4, align 4
br label %71
13: ; preds = %3
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %14, 2
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
store i8 0, ptr %18, align 1
store i32 0, ptr %4, align 4
br label %71
19: ; preds = %13
%20 = load ptr, ptr %6, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = icmp slt i32 %22, 1
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
store i8 0, ptr %26, align 1
store i32 0, ptr %4, align 4
br label %71
27: ; preds = %19
%28 = load i32, ptr %9, align 4
%29 = sub nsw i32 %28, 1
store i32 %29, ptr %8, align 4
br label %30
30: ; preds = %51, %27
%31 = load i32, ptr %8, align 4
%32 = icmp sge i32 %31, 0
br i1 %32, label %33, label %54
33: ; preds = %30
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %8, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 47
br i1 %40, label %49, label %41
41: ; preds = %33
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 92
br i1 %48, label %49, label %50
49: ; preds = %41, %33
br label %54
50: ; preds = %41
br label %51
51: ; preds = %50
%52 = load i32, ptr %8, align 4
%53 = add nsw i32 %52, -1
store i32 %53, ptr %8, align 4
br label %30, !llvm.loop !6
54: ; preds = %49, %30
%55 = load i32, ptr %8, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %8, align 4
%57 = load ptr, ptr %5, align 8
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i32, ptr %7, align 4
%63 = call i32 @strncpy(ptr noundef %57, ptr noundef %61, i32 noundef %62)
%64 = load ptr, ptr %5, align 8
%65 = load i32, ptr %7, align 4
%66 = sub nsw i32 %65, 1
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %64, i64 %67
store i8 0, ptr %68, align 1
%69 = load ptr, ptr %5, align 8
%70 = call i32 @strlen(ptr noundef %69)
store i32 %70, ptr %4, align 4
br label %71
71: ; preds = %54, %24, %16, %12
%72 = load i32, ptr %4, align 4
ret i32 %72
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoyto_s8s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_filename_from_path(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %3
store i32 -1, ptr %4, align 4
br label %72
13: ; preds = %3
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %14, 2
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
store i8 0, ptr %18, align 1
store i32 0, ptr %4, align 4
br label %72
19: ; preds = %13
%20 = load ptr, ptr %6, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = icmp slt i32 %22, 1
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
store i8 0, ptr %26, align 1
store i32 0, ptr %4, align 4
br label %72
27: ; preds = %19
%28 = load i32, ptr %9, align 4
%29 = sub nsw i32 %28, 1
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp sge i32 %30, 0
br i1 %31, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %27
br label %32
32: ; preds = %.lr.ph, %50
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 47
br i1 %39, label %48, label %40
40: ; preds = %32
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %8, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 92
br i1 %47, label %48, label %49
48: ; preds = %40, %32
br label %55
49: ; preds = %40
br label %50
50: ; preds = %49
%51 = load i32, ptr %8, align 4
%52 = add nsw i32 %51, -1
store i32 %52, ptr %8, align 4
%53 = load i32, ptr %8, align 4
%54 = icmp sge i32 %53, 0
br i1 %54, label %32, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %50
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %27
br label %55
55: ; preds = %.loopexit, %48
%56 = load i32, ptr %8, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %8, align 4
%58 = load ptr, ptr %5, align 8
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %8, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
%63 = load i32, ptr %7, align 4
%64 = call i32 @strncpy(ptr noundef %58, ptr noundef %62, i32 noundef %63)
%65 = load ptr, ptr %5, align 8
%66 = load i32, ptr %7, align 4
%67 = sub nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %65, i64 %68
store i8 0, ptr %69, align 1
%70 = load ptr, ptr %5, align 8
%71 = call i32 @strlen(ptr noundef %70)
store i32 %71, ptr %4, align 4
br label %72
72: ; preds = %55, %24, %16, %12
%73 = load i32, ptr %4, align 4
ret i32 %73
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdhak1e1c.c'
source_filename = "/tmp/tmpdhak1e1c.c"
target datalayout = "e-m:e-p270: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/tmpdhak1e1c.c"
target datalayout = "e-m:e-p270: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/tmpyr5ycv_3.c'
source_filename = "/tmp/tmpyr5ycv_3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DasPrintInstructionAtAddr(i16 noundef zeroext %0) #0 {
%2 = alloca i16, align 2
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i16 %0, ptr %2, align 2
store i32 0, ptr %4, align 4
%5 = load i16, ptr %2, align 2
%6 = call i32 @DbgGetValueByAddress(i16 noundef zeroext %5)
store i32 %6, ptr %3, align 4
%7 = load i16, ptr %2, align 2
%8 = zext i16 %7 to i32
%9 = sub nsw i32 %8, 1
%10 = trunc i32 %9 to i16
%11 = call i32 @DbgGetValueByAddress(i16 noundef zeroext %10)
%12 = icmp eq i32 %11, 6
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 1, ptr %4, align 4
br label %14
14: ; preds = %13, %1
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %3, align 4
%17 = call i32 @DasPrintInstruction(i32 noundef %15, i32 noundef %16)
ret void
}
declare i32 @DbgGetValueByAddress(i16 noundef zeroext) #1
declare i32 @DasPrintInstruction(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/tmpyr5ycv_3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DasPrintInstructionAtAddr(i16 noundef zeroext %0) #0 {
%2 = alloca i16, align 2
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i16 %0, ptr %2, align 2
store i32 0, ptr %4, align 4
%5 = load i16, ptr %2, align 2
%6 = call i32 @DbgGetValueByAddress(i16 noundef zeroext %5)
store i32 %6, ptr %3, align 4
%7 = load i16, ptr %2, align 2
%8 = zext i16 %7 to i32
%9 = sub nsw i32 %8, 1
%10 = trunc i32 %9 to i16
%11 = call i32 @DbgGetValueByAddress(i16 noundef zeroext %10)
%12 = icmp eq i32 %11, 6
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 1, ptr %4, align 4
br label %14
14: ; preds = %13, %1
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %3, align 4
%17 = call i32 @DasPrintInstruction(i32 noundef %15, i32 noundef %16)
ret void
}
declare i32 @DbgGetValueByAddress(i16 noundef zeroext) #1
declare i32 @DasPrintInstruction(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/tmp8c0dmxh2.c'
source_filename = "/tmp/tmp8c0dmxh2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Software limited \00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"I am in thread function\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"TGID --> %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"PID --> %ld\0A\00", align 1
@SYS_gettid = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @thread_function(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, ptr noundef @.str.1)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @fclose(ptr noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (...) @getpid()
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %8)
%10 = load i32, ptr @SYS_gettid, align 4
%11 = call i32 @syscall(i32 noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %11)
%13 = call i32 (...) @getchar()
ret ptr null
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getpid(...) #1
declare i32 @syscall(i32 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8c0dmxh2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Software limited \00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"I am in thread function\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"TGID --> %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"PID --> %ld\0A\00", align 1
@SYS_gettid = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @thread_function(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, ptr noundef @.str.1)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @fclose(ptr noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (...) @getpid()
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %8)
%10 = load i32, ptr @SYS_gettid, align 4
%11 = call i32 @syscall(i32 noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %11)
%13 = call i32 (...) @getchar()
ret ptr null
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getpid(...) #1
declare i32 @syscall(i32 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"}
|
; ModuleID = '/tmp/tmpwg1q_w10.c'
source_filename = "/tmp/tmpwg1q_w10.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"Enter a Number to find the Fibonacci using DP apporach: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"\0A Fibonacci of %d is: %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%10 = load i32, ptr %6, align 4
%11 = call i32 @fibDP(i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12, i32 noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fibDP(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/tmpwg1q_w10.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"Enter a Number to find the Fibonacci using DP apporach: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"\0A Fibonacci of %d is: %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%10 = load i32, ptr %6, align 4
%11 = call i32 @fibDP(i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12, i32 noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fibDP(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_kkw1g3e.c'
source_filename = "/tmp/tmp_kkw1g3e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_kkw1g3e.c"
target datalayout = "e-m:e-p270: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/tmprc99q2c6.c'
source_filename = "/tmp/tmprc99q2c6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Media de filhos: %.2f\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Maior salario: %.2f\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Media de salario: %.2f\0A\00", align 1
@.str.3 = private unnamed_addr constant [46 x i8] c"Media de pessoas que ganham ate 350 R$: %.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store float 0.000000e+00, ptr %1, align 4
store float 0.000000e+00, ptr %2, align 4
store float 0.000000e+00, ptr %3, align 4
store float 0.000000e+00, ptr %4, align 4
%5 = call i32 @calc_habitante(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%6 = load float, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str, float noundef %6)
%8 = load float, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str.1, float noundef %8)
%10 = load float, ptr %3, align 4
%11 = call i32 @printf(ptr noundef @.str.2, float noundef %10)
%12 = load float, ptr %4, align 4
%13 = call i32 @printf(ptr noundef @.str.3, float noundef %12)
ret void
}
declare i32 @calc_habitante(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprc99q2c6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Media de filhos: %.2f\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Maior salario: %.2f\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Media de salario: %.2f\0A\00", align 1
@.str.3 = private unnamed_addr constant [46 x i8] c"Media de pessoas que ganham ate 350 R$: %.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store float 0.000000e+00, ptr %1, align 4
store float 0.000000e+00, ptr %2, align 4
store float 0.000000e+00, ptr %3, align 4
store float 0.000000e+00, ptr %4, align 4
%5 = call i32 @calc_habitante(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%6 = load float, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str, float noundef %6)
%8 = load float, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str.1, float noundef %8)
%10 = load float, ptr %3, align 4
%11 = call i32 @printf(ptr noundef @.str.2, float noundef %10)
%12 = load float, ptr %4, align 4
%13 = call i32 @printf(ptr noundef @.str.3, float noundef %12)
ret void
}
declare i32 @calc_habitante(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxwoojcdn.c'
source_filename = "/tmp/tmpxwoojcdn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dt_masks_blur_9x9_coeff(ptr noundef %0, float noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca float, align 4
%5 = alloca [9 x [9 x float]], align 16
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store float %1, ptr %4, align 4
%13 = load float, ptr %4, align 4
%14 = call float @sqrf(float noundef %13)
%15 = fmul float -2.000000e+00, %14
store float %15, ptr %6, align 4
%16 = call float @sqrf(float noundef 4.500000e+00)
store float %16, ptr %7, align 4
store float 0.000000e+00, ptr %8, align 4
store i32 -4, ptr %9, align 4
br label %17
17: ; preds = %78, %2
%18 = load i32, ptr %9, align 4
%19 = icmp sle i32 %18, 4
br i1 %19, label %20, label %81
20: ; preds = %17
store i32 -4, ptr %10, align 4
br label %21
21: ; preds = %74, %20
%22 = load i32, ptr %10, align 4
%23 = icmp sle i32 %22, 4
br i1 %23, label %24, label %77
24: ; preds = %21
%25 = load i32, ptr %9, align 4
%26 = sitofp i32 %25 to float
%27 = call float @sqrf(float noundef %26)
%28 = load i32, ptr %10, align 4
%29 = sitofp i32 %28 to float
%30 = call float @sqrf(float noundef %29)
%31 = fadd float %27, %30
%32 = load float, ptr %7, align 4
%33 = fcmp ole float %31, %32
br i1 %33, label %34, label %64
34: ; preds = %24
%35 = load i32, ptr %9, align 4
%36 = sitofp i32 %35 to float
%37 = call float @sqrf(float noundef %36)
%38 = load i32, ptr %10, align 4
%39 = sitofp i32 %38 to float
%40 = call float @sqrf(float noundef %39)
%41 = fadd float %37, %40
%42 = load float, ptr %6, align 4
%43 = fdiv float %41, %42
%44 = call float @expf(float noundef %43) #3
%45 = load i32, ptr %9, align 4
%46 = add nsw i32 %45, 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 %47
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %49, 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [9 x float], ptr %48, i64 0, i64 %51
store float %44, ptr %52, align 4
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 %55
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [9 x float], ptr %56, i64 0, i64 %59
%61 = load float, ptr %60, align 4
%62 = load float, ptr %8, align 4
%63 = fadd float %62, %61
store float %63, ptr %8, align 4
br label %73
64: ; preds = %24
%65 = load i32, ptr %9, align 4
%66 = add nsw i32 %65, 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 %67
%69 = load i32, ptr %10, align 4
%70 = add nsw i32 %69, 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [9 x float], ptr %68, i64 0, i64 %71
store float 0.000000e+00, ptr %72, align 4
br label %73
73: ; preds = %64, %34
br label %74
74: ; preds = %73
%75 = load i32, ptr %10, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %10, align 4
br label %21, !llvm.loop !6
77: ; preds = %21
br label %78
78: ; preds = %77
%79 = load i32, ptr %9, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %9, align 4
br label %17, !llvm.loop !8
81: ; preds = %17
store i32 0, ptr %11, align 4
br label %82
82: ; preds = %103, %81
%83 = load i32, ptr %11, align 4
%84 = icmp slt i32 %83, 9
br i1 %84, label %85, label %106
85: ; preds = %82
store i32 0, ptr %12, align 4
br label %86
86: ; preds = %99, %85
%87 = load i32, ptr %12, align 4
%88 = icmp slt i32 %87, 9
br i1 %88, label %89, label %102
89: ; preds = %86
%90 = load float, ptr %8, align 4
%91 = load i32, ptr %11, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 %92
%94 = load i32, ptr %12, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [9 x float], ptr %93, i64 0, i64 %95
%97 = load float, ptr %96, align 4
%98 = fdiv float %97, %90
store float %98, ptr %96, align 4
br label %99
99: ; preds = %89
%100 = load i32, ptr %12, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %12, align 4
br label %86, !llvm.loop !9
102: ; preds = %86
br label %103
103: ; preds = %102
%104 = load i32, ptr %11, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %11, align 4
br label %82, !llvm.loop !10
106: ; preds = %82
%107 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 4
%108 = getelementptr inbounds [9 x float], ptr %107, i64 0, i64 4
%109 = load float, ptr %108, align 16
%110 = load ptr, ptr %3, align 8
%111 = getelementptr inbounds float, ptr %110, i64 0
store float %109, ptr %111, align 4
%112 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 3
%113 = getelementptr inbounds [9 x float], ptr %112, i64 0, i64 4
%114 = load float, ptr %113, align 4
%115 = load ptr, ptr %3, align 8
%116 = getelementptr inbounds float, ptr %115, i64 1
store float %114, ptr %116, align 4
%117 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 3
%118 = getelementptr inbounds [9 x float], ptr %117, i64 0, i64 3
%119 = load float, ptr %118, align 4
%120 = load ptr, ptr %3, align 8
%121 = getelementptr inbounds float, ptr %120, i64 2
store float %119, ptr %121, align 4
%122 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 2
%123 = getelementptr inbounds [9 x float], ptr %122, i64 0, i64 4
%124 = load float, ptr %123, align 8
%125 = load ptr, ptr %3, align 8
%126 = getelementptr inbounds float, ptr %125, i64 3
store float %124, ptr %126, align 4
%127 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 2
%128 = getelementptr inbounds [9 x float], ptr %127, i64 0, i64 3
%129 = load float, ptr %128, align 4
%130 = load ptr, ptr %3, align 8
%131 = getelementptr inbounds float, ptr %130, i64 4
store float %129, ptr %131, align 4
%132 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 2
%133 = getelementptr inbounds [9 x float], ptr %132, i64 0, i64 2
%134 = load float, ptr %133, align 8
%135 = load ptr, ptr %3, align 8
%136 = getelementptr inbounds float, ptr %135, i64 5
store float %134, ptr %136, align 4
%137 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 1
%138 = getelementptr inbounds [9 x float], ptr %137, i64 0, i64 4
%139 = load float, ptr %138, align 4
%140 = load ptr, ptr %3, align 8
%141 = getelementptr inbounds float, ptr %140, i64 6
store float %139, ptr %141, align 4
%142 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 1
%143 = getelementptr inbounds [9 x float], ptr %142, i64 0, i64 3
%144 = load float, ptr %143, align 4
%145 = load ptr, ptr %3, align 8
%146 = getelementptr inbounds float, ptr %145, i64 7
store float %144, ptr %146, align 4
%147 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 1
%148 = getelementptr inbounds [9 x float], ptr %147, i64 0, i64 2
%149 = load float, ptr %148, align 4
%150 = load ptr, ptr %3, align 8
%151 = getelementptr inbounds float, ptr %150, i64 8
store float %149, ptr %151, align 4
%152 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 1
%153 = getelementptr inbounds [9 x float], ptr %152, i64 0, i64 1
%154 = load float, ptr %153, align 4
%155 = load ptr, ptr %3, align 8
%156 = getelementptr inbounds float, ptr %155, i64 9
store float %154, ptr %156, align 4
%157 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 0
%158 = getelementptr inbounds [9 x float], ptr %157, i64 0, i64 4
%159 = load float, ptr %158, align 16
%160 = load ptr, ptr %3, align 8
%161 = getelementptr inbounds float, ptr %160, i64 10
store float %159, ptr %161, align 4
%162 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 0
%163 = getelementptr inbounds [9 x float], ptr %162, i64 0, i64 3
%164 = load float, ptr %163, align 4
%165 = load ptr, ptr %3, align 8
%166 = getelementptr inbounds float, ptr %165, i64 11
store float %164, ptr %166, align 4
%167 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 0
%168 = getelementptr inbounds [9 x float], ptr %167, i64 0, i64 2
%169 = load float, ptr %168, align 8
%170 = load ptr, ptr %3, align 8
%171 = getelementptr inbounds float, ptr %170, i64 12
store float %169, ptr %171, align 4
ret void
}
declare float @sqrf(float noundef) #1
; Function Attrs: nounwind
declare float @expf(float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxwoojcdn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dt_masks_blur_9x9_coeff(ptr noundef %0, float noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca float, align 4
%5 = alloca [9 x [9 x float]], align 16
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store float %1, ptr %4, align 4
%13 = load float, ptr %4, align 4
%14 = call float @sqrf(float noundef %13)
%15 = fmul float -2.000000e+00, %14
store float %15, ptr %6, align 4
%16 = call float @sqrf(float noundef 4.500000e+00)
store float %16, ptr %7, align 4
store float 0.000000e+00, ptr %8, align 4
store i32 -4, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = icmp sle i32 %17, 4
br i1 %18, label %.lr.ph2, label %83
.lr.ph2: ; preds = %2
br label %19
19: ; preds = %.lr.ph2, %78
store i32 -4, ptr %10, align 4
%20 = load i32, ptr %10, align 4
%21 = icmp sle i32 %20, 4
br i1 %21, label %.lr.ph, label %77
.lr.ph: ; preds = %19
br label %22
22: ; preds = %.lr.ph, %72
%23 = load i32, ptr %9, align 4
%24 = sitofp i32 %23 to float
%25 = call float @sqrf(float noundef %24)
%26 = load i32, ptr %10, align 4
%27 = sitofp i32 %26 to float
%28 = call float @sqrf(float noundef %27)
%29 = fadd float %25, %28
%30 = load float, ptr %7, align 4
%31 = fcmp ole float %29, %30
br i1 %31, label %32, label %62
32: ; preds = %22
%33 = load i32, ptr %9, align 4
%34 = sitofp i32 %33 to float
%35 = call float @sqrf(float noundef %34)
%36 = load i32, ptr %10, align 4
%37 = sitofp i32 %36 to float
%38 = call float @sqrf(float noundef %37)
%39 = fadd float %35, %38
%40 = load float, ptr %6, align 4
%41 = fdiv float %39, %40
%42 = call float @expf(float noundef %41) #3
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 %45
%47 = load i32, ptr %10, align 4
%48 = add nsw i32 %47, 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [9 x float], ptr %46, i64 0, i64 %49
store float %42, ptr %50, align 4
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %51, 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 %53
%55 = load i32, ptr %10, align 4
%56 = add nsw i32 %55, 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [9 x float], ptr %54, i64 0, i64 %57
%59 = load float, ptr %58, align 4
%60 = load float, ptr %8, align 4
%61 = fadd float %60, %59
store float %61, ptr %8, align 4
br label %71
62: ; preds = %22
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 %65
%67 = load i32, ptr %10, align 4
%68 = add nsw i32 %67, 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [9 x float], ptr %66, i64 0, i64 %69
store float 0.000000e+00, ptr %70, align 4
br label %71
71: ; preds = %62, %32
br label %72
72: ; preds = %71
%73 = load i32, ptr %10, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %10, align 4
%75 = load i32, ptr %10, align 4
%76 = icmp sle i32 %75, 4
br i1 %76, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %72
br label %77
77: ; preds = %._crit_edge, %19
br label %78
78: ; preds = %77
%79 = load i32, ptr %9, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %9, align 4
%81 = load i32, ptr %9, align 4
%82 = icmp sle i32 %81, 4
br i1 %82, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %78
br label %83
83: ; preds = %._crit_edge3, %2
store i32 0, ptr %11, align 4
%84 = load i32, ptr %11, align 4
%85 = icmp slt i32 %84, 9
br i1 %85, label %.lr.ph8, label %110
.lr.ph8: ; preds = %83
br label %86
86: ; preds = %.lr.ph8, %105
store i32 0, ptr %12, align 4
%87 = load i32, ptr %12, align 4
%88 = icmp slt i32 %87, 9
br i1 %88, label %.lr.ph5, label %104
.lr.ph5: ; preds = %86
br label %89
89: ; preds = %.lr.ph5, %99
%90 = load float, ptr %8, align 4
%91 = load i32, ptr %11, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 %92
%94 = load i32, ptr %12, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [9 x float], ptr %93, i64 0, i64 %95
%97 = load float, ptr %96, align 4
%98 = fdiv float %97, %90
store float %98, ptr %96, align 4
br label %99
99: ; preds = %89
%100 = load i32, ptr %12, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %12, align 4
%102 = load i32, ptr %12, align 4
%103 = icmp slt i32 %102, 9
br i1 %103, label %89, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %99
br label %104
104: ; preds = %._crit_edge6, %86
br label %105
105: ; preds = %104
%106 = load i32, ptr %11, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %11, align 4
%108 = load i32, ptr %11, align 4
%109 = icmp slt i32 %108, 9
br i1 %109, label %86, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %105
br label %110
110: ; preds = %._crit_edge9, %83
%111 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 4
%112 = getelementptr inbounds [9 x float], ptr %111, i64 0, i64 4
%113 = load float, ptr %112, align 16
%114 = load ptr, ptr %3, align 8
%115 = getelementptr inbounds float, ptr %114, i64 0
store float %113, ptr %115, align 4
%116 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 3
%117 = getelementptr inbounds [9 x float], ptr %116, i64 0, i64 4
%118 = load float, ptr %117, align 4
%119 = load ptr, ptr %3, align 8
%120 = getelementptr inbounds float, ptr %119, i64 1
store float %118, ptr %120, align 4
%121 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 3
%122 = getelementptr inbounds [9 x float], ptr %121, i64 0, i64 3
%123 = load float, ptr %122, align 4
%124 = load ptr, ptr %3, align 8
%125 = getelementptr inbounds float, ptr %124, i64 2
store float %123, ptr %125, align 4
%126 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 2
%127 = getelementptr inbounds [9 x float], ptr %126, i64 0, i64 4
%128 = load float, ptr %127, align 8
%129 = load ptr, ptr %3, align 8
%130 = getelementptr inbounds float, ptr %129, i64 3
store float %128, ptr %130, align 4
%131 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 2
%132 = getelementptr inbounds [9 x float], ptr %131, i64 0, i64 3
%133 = load float, ptr %132, align 4
%134 = load ptr, ptr %3, align 8
%135 = getelementptr inbounds float, ptr %134, i64 4
store float %133, ptr %135, align 4
%136 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 2
%137 = getelementptr inbounds [9 x float], ptr %136, i64 0, i64 2
%138 = load float, ptr %137, align 8
%139 = load ptr, ptr %3, align 8
%140 = getelementptr inbounds float, ptr %139, i64 5
store float %138, ptr %140, align 4
%141 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 1
%142 = getelementptr inbounds [9 x float], ptr %141, i64 0, i64 4
%143 = load float, ptr %142, align 4
%144 = load ptr, ptr %3, align 8
%145 = getelementptr inbounds float, ptr %144, i64 6
store float %143, ptr %145, align 4
%146 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 1
%147 = getelementptr inbounds [9 x float], ptr %146, i64 0, i64 3
%148 = load float, ptr %147, align 4
%149 = load ptr, ptr %3, align 8
%150 = getelementptr inbounds float, ptr %149, i64 7
store float %148, ptr %150, align 4
%151 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 1
%152 = getelementptr inbounds [9 x float], ptr %151, i64 0, i64 2
%153 = load float, ptr %152, align 4
%154 = load ptr, ptr %3, align 8
%155 = getelementptr inbounds float, ptr %154, i64 8
store float %153, ptr %155, align 4
%156 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 1
%157 = getelementptr inbounds [9 x float], ptr %156, i64 0, i64 1
%158 = load float, ptr %157, align 4
%159 = load ptr, ptr %3, align 8
%160 = getelementptr inbounds float, ptr %159, i64 9
store float %158, ptr %160, align 4
%161 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 0
%162 = getelementptr inbounds [9 x float], ptr %161, i64 0, i64 4
%163 = load float, ptr %162, align 16
%164 = load ptr, ptr %3, align 8
%165 = getelementptr inbounds float, ptr %164, i64 10
store float %163, ptr %165, align 4
%166 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 0
%167 = getelementptr inbounds [9 x float], ptr %166, i64 0, i64 3
%168 = load float, ptr %167, align 4
%169 = load ptr, ptr %3, align 8
%170 = getelementptr inbounds float, ptr %169, i64 11
store float %168, ptr %170, align 4
%171 = getelementptr inbounds [9 x [9 x float]], ptr %5, i64 0, i64 0
%172 = getelementptr inbounds [9 x float], ptr %171, i64 0, i64 2
%173 = load float, ptr %172, align 8
%174 = load ptr, ptr %3, align 8
%175 = getelementptr inbounds float, ptr %174, i64 12
store float %173, ptr %175, align 4
ret void
}
declare float @sqrf(float noundef) #1
; Function Attrs: nounwind
declare float @expf(float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp83yqtrim.c'
source_filename = "/tmp/tmp83yqtrim.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"on\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %36
10: ; preds = %2
%11 = call ptr @XOpenDisplay(i32 noundef 0)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %15, label %14
14: ; preds = %10
store i32 -1, ptr %3, align 4
br label %36
15: ; preds = %10
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i32 @strcmp(ptr noundef %18, ptr noundef @.str)
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %27
21: ; preds = %15
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.1)
%26 = icmp ne i32 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %21, %15
%28 = load ptr, ptr %6, align 8
%29 = call i32 @numlock(ptr noundef %28, i32 noundef 1)
br label %33
30: ; preds = %21
%31 = load ptr, ptr %6, align 8
%32 = call i32 @numlock(ptr noundef %31, i32 noundef 0)
br label %33
33: ; preds = %30, %27
%34 = load ptr, ptr %6, align 8
%35 = call i32 @XCloseDisplay(ptr noundef %34)
store i32 0, ptr %3, align 4
br label %36
36: ; preds = %33, %14, %9
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare ptr @XOpenDisplay(i32 noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @numlock(ptr noundef, i32 noundef) #1
declare i32 @XCloseDisplay(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp83yqtrim.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"on\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %36
10: ; preds = %2
%11 = call ptr @XOpenDisplay(i32 noundef 0)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %15, label %14
14: ; preds = %10
store i32 -1, ptr %3, align 4
br label %36
15: ; preds = %10
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i32 @strcmp(ptr noundef %18, ptr noundef @.str)
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %27
21: ; preds = %15
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.1)
%26 = icmp ne i32 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %21, %15
%28 = load ptr, ptr %6, align 8
%29 = call i32 @numlock(ptr noundef %28, i32 noundef 1)
br label %33
30: ; preds = %21
%31 = load ptr, ptr %6, align 8
%32 = call i32 @numlock(ptr noundef %31, i32 noundef 0)
br label %33
33: ; preds = %30, %27
%34 = load ptr, ptr %6, align 8
%35 = call i32 @XCloseDisplay(ptr noundef %34)
store i32 0, ptr %3, align 4
br label %36
36: ; preds = %33, %14, %9
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare ptr @XOpenDisplay(i32 noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @numlock(ptr noundef, i32 noundef) #1
declare i32 @XCloseDisplay(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprx46dwhs.c'
source_filename = "/tmp/tmprx46dwhs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"%c - \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%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
store i32 0, ptr %1, align 4
%8 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @fgets(ptr noundef %8, i32 noundef 1000, i32 noundef %9)
%11 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %3, align 4
store i32 97, ptr %4, align 4
br label %13
13: ; preds = %78, %0
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 123
br i1 %15, label %16, label %81
16: ; preds = %13
store i32 0, ptr %5, align 4
store i32 -1, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %17
17: ; preds = %62, %16
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %3, align 4
%20 = sub nsw i32 %19, 1
%21 = icmp slt i32 %18, %20
br i1 %21, label %22, label %65
22: ; preds = %17
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = load i32, ptr %4, align 4
%29 = icmp eq i32 %27, %28
br i1 %29, label %30, label %38
30: ; preds = %22
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = load i32, ptr %7, align 4
store i32 %36, ptr %6, align 4
br label %37
37: ; preds = %35, %30
br label %61
38: ; preds = %22
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = load i32, ptr %4, align 4
%45 = sub nsw i32 %44, 32
%46 = icmp eq i32 %43, %45
br i1 %46, label %47, label %60
47: ; preds = %38
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %5, align 4
%50 = load i32, ptr %6, align 4
%51 = icmp eq i32 %50, -1
br i1 %51, label %52, label %59
52: ; preds = %47
%53 = load i32, ptr %7, align 4
store i32 %53, ptr %6, align 4
%54 = load i32, ptr %4, align 4
%55 = trunc i32 %54 to i8
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %57
store i8 %55, ptr %58, align 1
br label %59
59: ; preds = %52, %47
br label %60
60: ; preds = %59, %38
br label %61
61: ; preds = %60, %37
br label %62
62: ; preds = %61
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %7, align 4
br label %17, !llvm.loop !6
65: ; preds = %17
%66 = load i32, ptr %5, align 4
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %77
68: ; preds = %65
%69 = load i32, ptr %6, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = call i32 @printf(ptr noundef @.str, i32 noundef %73)
%75 = load i32, ptr %5, align 4
%76 = call i32 @printf(ptr noundef @.str.1, i32 noundef %75)
br label %77
77: ; preds = %68, %65
br label %78
78: ; preds = %77
%79 = load i32, ptr %4, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %4, align 4
br label %13, !llvm.loop !8
81: ; preds = %13
ret i32 0
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprx46dwhs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"%c - \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%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
store i32 0, ptr %1, align 4
%8 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @fgets(ptr noundef %8, i32 noundef 1000, i32 noundef %9)
%11 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %3, align 4
store i32 97, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 123
br i1 %14, label %.lr.ph2, label %85
.lr.ph2: ; preds = %0
br label %15
15: ; preds = %.lr.ph2, %80
store i32 0, ptr %5, align 4
store i32 -1, ptr %6, align 4
store i32 0, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %3, align 4
%18 = sub nsw i32 %17, 1
%19 = icmp slt i32 %16, %18
br i1 %19, label %.lr.ph, label %67
.lr.ph: ; preds = %15
br label %20
20: ; preds = %.lr.ph, %60
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = load i32, ptr %4, align 4
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %36
28: ; preds = %20
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %35
33: ; preds = %28
%34 = load i32, ptr %7, align 4
store i32 %34, ptr %6, align 4
br label %35
35: ; preds = %33, %28
br label %59
36: ; preds = %20
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = load i32, ptr %4, align 4
%43 = sub nsw i32 %42, 32
%44 = icmp eq i32 %41, %43
br i1 %44, label %45, label %58
45: ; preds = %36
%46 = load i32, ptr %5, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %5, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp eq i32 %48, -1
br i1 %49, label %50, label %57
50: ; preds = %45
%51 = load i32, ptr %7, align 4
store i32 %51, ptr %6, align 4
%52 = load i32, ptr %4, align 4
%53 = trunc i32 %52 to i8
%54 = load i32, ptr %6, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %55
store i8 %53, ptr %56, align 1
br label %57
57: ; preds = %50, %45
br label %58
58: ; preds = %57, %36
br label %59
59: ; preds = %58, %35
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
%63 = load i32, ptr %7, align 4
%64 = load i32, ptr %3, align 4
%65 = sub nsw i32 %64, 1
%66 = icmp slt i32 %63, %65
br i1 %66, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %67
67: ; preds = %._crit_edge, %15
%68 = load i32, ptr %5, align 4
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %79
70: ; preds = %67
%71 = load i32, ptr %6, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %72
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = call i32 @printf(ptr noundef @.str, i32 noundef %75)
%77 = load i32, ptr %5, align 4
%78 = call i32 @printf(ptr noundef @.str.1, i32 noundef %77)
br label %79
79: ; preds = %70, %67
br label %80
80: ; preds = %79
%81 = load i32, ptr %4, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %4, align 4
%83 = load i32, ptr %4, align 4
%84 = icmp slt i32 %83, 123
br i1 %84, label %15, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %80
br label %85
85: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpa95lnmzl.c'
source_filename = "/tmp/tmpa95lnmzl.c"
target datalayout = "e-m:e-p270: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/tmpa95lnmzl.c"
target datalayout = "e-m:e-p270: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/tmpsgcakob2.c'
source_filename = "/tmp/tmpsgcakob2.c"
target datalayout = "e-m:e-p270: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/tmpsgcakob2.c"
target datalayout = "e-m:e-p270: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/tmpq8qv51pn.c'
source_filename = "/tmp/tmpq8qv51pn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extrude_coords(ptr noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store double %3, ptr %8, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = mul i64 8, %13
%15 = mul i64 %14, 3
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 %15, %17
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %9, align 8
store i32 0, ptr %10, align 4
br label %22
22: ; preds = %82, %4
%23 = load i32, ptr %10, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %85
26: ; preds = %22
store i32 0, ptr %11, align 4
br label %27
27: ; preds = %78, %26
%28 = load i32, ptr %11, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %81
31: ; preds = %27
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %10, align 4
%34 = mul nsw i32 2, %33
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %32, i64 %35
%37 = load double, ptr %36, align 8
%38 = load ptr, ptr %9, align 8
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr %7, align 4
%41 = mul nsw i32 %39, %40
%42 = load i32, ptr %11, align 4
%43 = add nsw i32 %41, %42
%44 = mul nsw i32 3, %43
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double, ptr %38, i64 %45
store double %37, ptr %46, align 8
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %10, align 4
%49 = mul nsw i32 2, %48
%50 = add nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %47, i64 %51
%53 = load double, ptr %52, align 8
%54 = load ptr, ptr %9, align 8
%55 = load i32, ptr %10, align 4
%56 = load i32, ptr %7, align 4
%57 = mul nsw i32 %55, %56
%58 = load i32, ptr %11, align 4
%59 = add nsw i32 %57, %58
%60 = mul nsw i32 3, %59
%61 = add nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %54, i64 %62
store double %53, ptr %63, align 8
%64 = load double, ptr %8, align 8
%65 = load i32, ptr %11, align 4
%66 = sitofp i32 %65 to double
%67 = fmul double %64, %66
%68 = load ptr, ptr %9, align 8
%69 = load i32, ptr %10, align 4
%70 = load i32, ptr %7, align 4
%71 = mul nsw i32 %69, %70
%72 = load i32, ptr %11, align 4
%73 = add nsw i32 %71, %72
%74 = mul nsw i32 3, %73
%75 = add nsw i32 %74, 2
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %68, i64 %76
store double %67, ptr %77, align 8
br label %78
78: ; preds = %31
%79 = load i32, ptr %11, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %11, align 4
br label %27, !llvm.loop !6
81: ; preds = %27
br label %82
82: ; preds = %81
%83 = load i32, ptr %10, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %10, align 4
br label %22, !llvm.loop !8
85: ; preds = %22
%86 = load ptr, ptr %9, align 8
ret ptr %86
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq8qv51pn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extrude_coords(ptr noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store double %3, ptr %8, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = mul i64 8, %13
%15 = mul i64 %14, 3
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 %15, %17
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %9, align 8
store i32 0, ptr %10, align 4
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph2, label %89
.lr.ph2: ; preds = %4
br label %25
25: ; preds = %.lr.ph2, %83
store i32 0, ptr %11, align 4
%26 = load i32, ptr %11, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph, label %82
.lr.ph: ; preds = %25
br label %29
29: ; preds = %.lr.ph, %76
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %10, align 4
%32 = mul nsw i32 2, %31
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds double, ptr %30, i64 %33
%35 = load double, ptr %34, align 8
%36 = load ptr, ptr %9, align 8
%37 = load i32, ptr %10, align 4
%38 = load i32, ptr %7, align 4
%39 = mul nsw i32 %37, %38
%40 = load i32, ptr %11, align 4
%41 = add nsw i32 %39, %40
%42 = mul nsw i32 3, %41
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds double, ptr %36, i64 %43
store double %35, ptr %44, align 8
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %10, align 4
%47 = mul nsw i32 2, %46
%48 = add nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %45, i64 %49
%51 = load double, ptr %50, align 8
%52 = load ptr, ptr %9, align 8
%53 = load i32, ptr %10, align 4
%54 = load i32, ptr %7, align 4
%55 = mul nsw i32 %53, %54
%56 = load i32, ptr %11, align 4
%57 = add nsw i32 %55, %56
%58 = mul nsw i32 3, %57
%59 = add nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %52, i64 %60
store double %51, ptr %61, align 8
%62 = load double, ptr %8, align 8
%63 = load i32, ptr %11, align 4
%64 = sitofp i32 %63 to double
%65 = fmul double %62, %64
%66 = load ptr, ptr %9, align 8
%67 = load i32, ptr %10, align 4
%68 = load i32, ptr %7, align 4
%69 = mul nsw i32 %67, %68
%70 = load i32, ptr %11, align 4
%71 = add nsw i32 %69, %70
%72 = mul nsw i32 3, %71
%73 = add nsw i32 %72, 2
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, ptr %66, i64 %74
store double %65, ptr %75, align 8
br label %76
76: ; preds = %29
%77 = load i32, ptr %11, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %11, align 4
%79 = load i32, ptr %11, align 4
%80 = load i32, ptr %7, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %76
br label %82
82: ; preds = %._crit_edge, %25
br label %83
83: ; preds = %82
%84 = load i32, ptr %10, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %10, align 4
%86 = load i32, ptr %10, align 4
%87 = load i32, ptr %6, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %83
br label %89
89: ; preds = %._crit_edge3, %4
%90 = load ptr, ptr %9, align 8
ret ptr %90
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpxbhhqcoh.c'
source_filename = "/tmp/tmpxbhhqcoh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"n\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"nn\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"nnn\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"nnnn\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"nnnnn\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"nnnnnn\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"nnnnnnn\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"nnnnnnnn\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"nnnnnnnnn\00", align 1
@.str.9 = private unnamed_addr constant [11 x i8] c"nnnnnnnnnn\00", align 1
@.str.10 = private unnamed_addr constant [12 x i8] c"nnnnnnnnnnn\00", align 1
@.str.11 = private unnamed_addr constant [13 x i8] c"nnnnnnnnnnnn\00", align 1
@.str.12 = private unnamed_addr constant [14 x i8] c"nnnnnnnnnnnnn\00", align 1
@.str.13 = private unnamed_addr constant [15 x i8] c"nnnnnnnnnnnnnn\00", align 1
@.str.14 = private unnamed_addr constant [16 x i8] c"nnnnnnnnnnnnnnn\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @motif_initialization(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
switch i32 %5, label %51 [
i32 1, label %6
i32 2, label %9
i32 3, label %12
i32 4, label %15
i32 5, label %18
i32 6, label %21
i32 7, label %24
i32 8, label %27
i32 9, label %30
i32 10, label %33
i32 11, label %36
i32 12, label %39
i32 13, label %42
i32 14, label %45
i32 15, label %48
]
6: ; preds = %2
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strcpy(ptr noundef %7, ptr noundef @.str)
br label %51
9: ; preds = %2
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str.1)
br label %51
12: ; preds = %2
%13 = load ptr, ptr %3, align 8
%14 = call i32 @strcpy(ptr noundef %13, ptr noundef @.str.2)
br label %51
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = call i32 @strcpy(ptr noundef %16, ptr noundef @.str.3)
br label %51
18: ; preds = %2
%19 = load ptr, ptr %3, align 8
%20 = call i32 @strcpy(ptr noundef %19, ptr noundef @.str.4)
br label %51
21: ; preds = %2
%22 = load ptr, ptr %3, align 8
%23 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str.5)
br label %51
24: ; preds = %2
%25 = load ptr, ptr %3, align 8
%26 = call i32 @strcpy(ptr noundef %25, ptr noundef @.str.6)
br label %51
27: ; preds = %2
%28 = load ptr, ptr %3, align 8
%29 = call i32 @strcpy(ptr noundef %28, ptr noundef @.str.7)
br label %51
30: ; preds = %2
%31 = load ptr, ptr %3, align 8
%32 = call i32 @strcpy(ptr noundef %31, ptr noundef @.str.8)
br label %51
33: ; preds = %2
%34 = load ptr, ptr %3, align 8
%35 = call i32 @strcpy(ptr noundef %34, ptr noundef @.str.9)
br label %51
36: ; preds = %2
%37 = load ptr, ptr %3, align 8
%38 = call i32 @strcpy(ptr noundef %37, ptr noundef @.str.10)
br label %51
39: ; preds = %2
%40 = load ptr, ptr %3, align 8
%41 = call i32 @strcpy(ptr noundef %40, ptr noundef @.str.11)
br label %51
42: ; preds = %2
%43 = load ptr, ptr %3, align 8
%44 = call i32 @strcpy(ptr noundef %43, ptr noundef @.str.12)
br label %51
45: ; preds = %2
%46 = load ptr, ptr %3, align 8
%47 = call i32 @strcpy(ptr noundef %46, ptr noundef @.str.13)
br label %51
48: ; preds = %2
%49 = load ptr, ptr %3, align 8
%50 = call i32 @strcpy(ptr noundef %49, ptr noundef @.str.14)
br label %51
51: ; preds = %2, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxbhhqcoh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"n\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"nn\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"nnn\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"nnnn\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"nnnnn\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"nnnnnn\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"nnnnnnn\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"nnnnnnnn\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"nnnnnnnnn\00", align 1
@.str.9 = private unnamed_addr constant [11 x i8] c"nnnnnnnnnn\00", align 1
@.str.10 = private unnamed_addr constant [12 x i8] c"nnnnnnnnnnn\00", align 1
@.str.11 = private unnamed_addr constant [13 x i8] c"nnnnnnnnnnnn\00", align 1
@.str.12 = private unnamed_addr constant [14 x i8] c"nnnnnnnnnnnnn\00", align 1
@.str.13 = private unnamed_addr constant [15 x i8] c"nnnnnnnnnnnnnn\00", align 1
@.str.14 = private unnamed_addr constant [16 x i8] c"nnnnnnnnnnnnnnn\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @motif_initialization(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
switch i32 %5, label %51 [
i32 1, label %6
i32 2, label %9
i32 3, label %12
i32 4, label %15
i32 5, label %18
i32 6, label %21
i32 7, label %24
i32 8, label %27
i32 9, label %30
i32 10, label %33
i32 11, label %36
i32 12, label %39
i32 13, label %42
i32 14, label %45
i32 15, label %48
]
6: ; preds = %2
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strcpy(ptr noundef %7, ptr noundef @.str)
br label %51
9: ; preds = %2
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str.1)
br label %51
12: ; preds = %2
%13 = load ptr, ptr %3, align 8
%14 = call i32 @strcpy(ptr noundef %13, ptr noundef @.str.2)
br label %51
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = call i32 @strcpy(ptr noundef %16, ptr noundef @.str.3)
br label %51
18: ; preds = %2
%19 = load ptr, ptr %3, align 8
%20 = call i32 @strcpy(ptr noundef %19, ptr noundef @.str.4)
br label %51
21: ; preds = %2
%22 = load ptr, ptr %3, align 8
%23 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str.5)
br label %51
24: ; preds = %2
%25 = load ptr, ptr %3, align 8
%26 = call i32 @strcpy(ptr noundef %25, ptr noundef @.str.6)
br label %51
27: ; preds = %2
%28 = load ptr, ptr %3, align 8
%29 = call i32 @strcpy(ptr noundef %28, ptr noundef @.str.7)
br label %51
30: ; preds = %2
%31 = load ptr, ptr %3, align 8
%32 = call i32 @strcpy(ptr noundef %31, ptr noundef @.str.8)
br label %51
33: ; preds = %2
%34 = load ptr, ptr %3, align 8
%35 = call i32 @strcpy(ptr noundef %34, ptr noundef @.str.9)
br label %51
36: ; preds = %2
%37 = load ptr, ptr %3, align 8
%38 = call i32 @strcpy(ptr noundef %37, ptr noundef @.str.10)
br label %51
39: ; preds = %2
%40 = load ptr, ptr %3, align 8
%41 = call i32 @strcpy(ptr noundef %40, ptr noundef @.str.11)
br label %51
42: ; preds = %2
%43 = load ptr, ptr %3, align 8
%44 = call i32 @strcpy(ptr noundef %43, ptr noundef @.str.12)
br label %51
45: ; preds = %2
%46 = load ptr, ptr %3, align 8
%47 = call i32 @strcpy(ptr noundef %46, ptr noundef @.str.13)
br label %51
48: ; preds = %2
%49 = load ptr, ptr %3, align 8
%50 = call i32 @strcpy(ptr noundef %49, ptr noundef @.str.14)
br label %51
51: ; preds = %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6, %2
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph_uohf3u.c'
source_filename = "/tmp/tmph_uohf3u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ioc_read(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = ptrtoint ptr %8 to i32
%10 = load i32, ptr %6, align 4
%11 = call i32 @sys_call(i32 noundef 22, i32 noundef %7, i32 noundef %9, i32 noundef %10, i32 noundef 0)
ret i32 %11
}
declare i32 @sys_call(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmph_uohf3u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ioc_read(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = ptrtoint ptr %8 to i32
%10 = load i32, ptr %6, align 4
%11 = call i32 @sys_call(i32 noundef 22, i32 noundef %7, i32 noundef %9, i32 noundef %10, i32 noundef 0)
ret i32 %11
}
declare i32 @sys_call(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3v_ktrly.c'
source_filename = "/tmp/tmp3v_ktrly.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @env_create_new(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr null, ptr %4, align 8
br i1 false, label %13, label %5
5: ; preds = %1
%6 = load i64, ptr %3, align 8
%7 = mul i64 8, %6
%8 = add i64 %7, 1
%9 = trunc i64 %8 to i32
%10 = call ptr @malloc(i32 noundef %9)
store ptr %10, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %5
store ptr null, ptr %2, align 8
br label %25
13: ; preds = %5, %1
br label %14
14: ; preds = %17, %13
%15 = load i64, ptr %3, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load ptr, ptr %4, align 8
%19 = load i64, ptr %3, align 8
%20 = getelementptr inbounds ptr, ptr %18, i64 %19
store ptr null, ptr %20, align 8
%21 = load i64, ptr %3, align 8
%22 = add i64 %21, -1
store i64 %22, ptr %3, align 8
br label %14, !llvm.loop !6
23: ; preds = %14
%24 = load ptr, ptr %4, align 8
store ptr %24, ptr %2, align 8
br label %25
25: ; preds = %23, %12
%26 = load ptr, ptr %2, align 8
ret ptr %26
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3v_ktrly.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @env_create_new(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr null, ptr %4, align 8
br i1 false, label %13, label %5
5: ; preds = %1
%6 = load i64, ptr %3, align 8
%7 = mul i64 8, %6
%8 = add i64 %7, 1
%9 = trunc i64 %8 to i32
%10 = call ptr @malloc(i32 noundef %9)
store ptr %10, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %5
store ptr null, ptr %2, align 8
br label %26
13: ; preds = %5, %1
%14 = load i64, ptr %3, align 8
%15 = icmp ne i64 %14, 0
br i1 %15, label %.lr.ph, label %24
.lr.ph: ; preds = %13
br label %16
16: ; preds = %.lr.ph, %16
%17 = load ptr, ptr %4, align 8
%18 = load i64, ptr %3, align 8
%19 = getelementptr inbounds ptr, ptr %17, i64 %18
store ptr null, ptr %19, align 8
%20 = load i64, ptr %3, align 8
%21 = add i64 %20, -1
store i64 %21, ptr %3, align 8
%22 = load i64, ptr %3, align 8
%23 = icmp ne i64 %22, 0
br i1 %23, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %24
24: ; preds = %._crit_edge, %13
%25 = load ptr, ptr %4, align 8
store ptr %25, ptr %2, align 8
br label %26
26: ; preds = %24, %12
%27 = load ptr, ptr %2, align 8
ret ptr %27
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfs9qe3l_.c'
source_filename = "/tmp/tmpfs9qe3l_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dcc_argv_search(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
br label %6
6: ; preds = %18, %2
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %21
10: ; preds = %6
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %11, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i32 @strcmp(ptr noundef %12, ptr noundef %13)
%15 = icmp ne i32 %14, 0
br i1 %15, label %17, label %16
16: ; preds = %10
store i32 1, ptr %3, align 4
br label %22
17: ; preds = %10
br label %18
18: ; preds = %17
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds ptr, ptr %19, i32 1
store ptr %20, ptr %4, align 8
br label %6, !llvm.loop !6
21: ; preds = %6
store i32 0, ptr %3, align 4
br label %22
22: ; preds = %21, %16
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfs9qe3l_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dcc_argv_search(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %6, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %17
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %10, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @strcmp(ptr noundef %11, ptr noundef %12)
%14 = icmp ne i32 %13, 0
br i1 %14, label %16, label %15
15: ; preds = %9
store i32 1, ptr %3, align 4
br label %24
16: ; preds = %9
br label %17
17: ; preds = %16
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds ptr, ptr %18, i32 1
store ptr %19, ptr %4, align 8
%20 = load ptr, ptr %4, align 8
%21 = load ptr, ptr %20, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %2
store i32 0, ptr %3, align 4
br label %24
24: ; preds = %23, %15
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpv44m1zb2.c'
source_filename = "/tmp/tmpv44m1zb2.c"
target datalayout = "e-m:e-p270: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/tmpv44m1zb2.c"
target datalayout = "e-m:e-p270: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/tmp2adt69sw.c'
source_filename = "/tmp/tmp2adt69sw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"/index.html\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @rewrite_url(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @strcmp(ptr noundef %5, ptr noundef @.str)
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %25
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call ptr @strchr(ptr noundef %10, i8 noundef signext 63)
store ptr %11, ptr %4, align 8
%12 = load ptr, ptr %4, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
store ptr %15, ptr %2, align 8
br label %25
16: ; preds = %9
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %3, align 8
%20 = ptrtoint ptr %18 to i64
%21 = ptrtoint ptr %19 to i64
%22 = sub i64 %20, %21
%23 = getelementptr inbounds i8, ptr %17, i64 %22
store i8 0, ptr %23, align 1
%24 = load ptr, ptr %3, align 8
store ptr %24, ptr %2, align 8
br label %25
25: ; preds = %16, %14, %8
%26 = load ptr, ptr %2, align 8
ret ptr %26
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2adt69sw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"/index.html\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @rewrite_url(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @strcmp(ptr noundef %5, ptr noundef @.str)
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %25
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call ptr @strchr(ptr noundef %10, i8 noundef signext 63)
store ptr %11, ptr %4, align 8
%12 = load ptr, ptr %4, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
store ptr %15, ptr %2, align 8
br label %25
16: ; preds = %9
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %3, align 8
%20 = ptrtoint ptr %18 to i64
%21 = ptrtoint ptr %19 to i64
%22 = sub i64 %20, %21
%23 = getelementptr inbounds i8, ptr %17, i64 %22
store i8 0, ptr %23, align 1
%24 = load ptr, ptr %3, align 8
store ptr %24, ptr %2, align 8
br label %25
25: ; preds = %16, %14, %8
%26 = load ptr, ptr %2, align 8
ret ptr %26
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphzwv9bk0.c'
source_filename = "/tmp/tmphzwv9bk0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scamper_ip4_close(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 @close(i32 noundef %3)
ret void
}
declare i32 @close(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/tmphzwv9bk0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scamper_ip4_close(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 @close(i32 noundef %3)
ret void
}
declare i32 @close(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/tmpac4r9hmh.c'
source_filename = "/tmp/tmpac4r9hmh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpac4r9hmh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsjmxyi2o.c'
source_filename = "/tmp/tmpsjmxyi2o.c"
target datalayout = "e-m:e-p270: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/tmpsjmxyi2o.c"
target datalayout = "e-m:e-p270: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/tmpxk6dk1ib.c'
source_filename = "/tmp/tmpxk6dk1ib.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [56 x i8] c"Function Example 9\0ANFL Quarterback Rating Calculation\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Enter Quarterback Name: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"Enter Completions: \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"Enter Attempts: \00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"Enter TDs: \00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"Enter Interceptions: \00", align 1
@.str.8 = private unnamed_addr constant [22 x i8] c"Enter Passing yards: \00", align 1
@.str.9 = private unnamed_addr constant [25 x i8] c"\0A%s's rating is: %2.2f\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca [31 x i8], align 16
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = getelementptr inbounds [31 x i8], ptr %7, i64 0, i64 0
%11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %2)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %3)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %4)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %5)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %6)
%22 = getelementptr inbounds [31 x i8], ptr %7, i64 0, i64 0
%23 = load float, ptr %2, align 4
%24 = load float, ptr %3, align 4
%25 = load float, ptr %4, align 4
%26 = load float, ptr %5, align 4
%27 = load float, ptr %6, align 4
%28 = call double @calcQuarterbackRating(float noundef %23, float noundef %24, float noundef %25, float noundef %26, float noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %22, double noundef %28)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare double @calcQuarterbackRating(float noundef, float noundef, float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxk6dk1ib.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [56 x i8] c"Function Example 9\0ANFL Quarterback Rating Calculation\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Enter Quarterback Name: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"Enter Completions: \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"Enter Attempts: \00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"Enter TDs: \00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"Enter Interceptions: \00", align 1
@.str.8 = private unnamed_addr constant [22 x i8] c"Enter Passing yards: \00", align 1
@.str.9 = private unnamed_addr constant [25 x i8] c"\0A%s's rating is: %2.2f\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca [31 x i8], align 16
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = getelementptr inbounds [31 x i8], ptr %7, i64 0, i64 0
%11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %2)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %3)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %4)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %5)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %6)
%22 = getelementptr inbounds [31 x i8], ptr %7, i64 0, i64 0
%23 = load float, ptr %2, align 4
%24 = load float, ptr %3, align 4
%25 = load float, ptr %4, align 4
%26 = load float, ptr %5, align 4
%27 = load float, ptr %6, align 4
%28 = call double @calcQuarterbackRating(float noundef %23, float noundef %24, float noundef %25, float noundef %26, float noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %22, double noundef %28)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare double @calcQuarterbackRating(float noundef, float noundef, float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpawi1947f.c'
source_filename = "/tmp/tmpawi1947f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = 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 256, ptr %6, align 4
%10 = call i64 @malloc(i32 noundef 256)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = call ptr @acc_present_or_create(ptr noundef %12, i32 noundef 256)
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %8, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %18, label %16
16: ; preds = %2
%17 = call i32 (...) @abort() #3
unreachable
18: ; preds = %2
%19 = load ptr, ptr %7, align 8
%20 = call ptr @acc_present_or_create(ptr noundef %19, i32 noundef 254)
store ptr %20, ptr %9, align 8
%21 = load ptr, ptr %9, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %25, label %23
23: ; preds = %18
%24 = call i32 (...) @abort() #3
unreachable
25: ; preds = %18
%26 = load ptr, ptr %8, align 8
%27 = load ptr, ptr %9, align 8
%28 = icmp ne ptr %26, %27
br i1 %28, label %29, label %31
29: ; preds = %25
%30 = call i32 (...) @abort() #3
unreachable
31: ; preds = %25
%32 = load ptr, ptr %7, align 8
%33 = call i32 @acc_delete(ptr noundef %32, i32 noundef 256)
%34 = load ptr, ptr %7, align 8
%35 = call i32 @free(ptr noundef %34)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare ptr @acc_present_or_create(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @acc_delete(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" }
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/tmpawi1947f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = 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 256, ptr %6, align 4
%10 = call i64 @malloc(i32 noundef 256)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = call ptr @acc_present_or_create(ptr noundef %12, i32 noundef 256)
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %8, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %18, label %16
16: ; preds = %2
%17 = call i32 (...) @abort() #3
unreachable
18: ; preds = %2
%19 = load ptr, ptr %7, align 8
%20 = call ptr @acc_present_or_create(ptr noundef %19, i32 noundef 254)
store ptr %20, ptr %9, align 8
%21 = load ptr, ptr %9, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %25, label %23
23: ; preds = %18
%24 = call i32 (...) @abort() #3
unreachable
25: ; preds = %18
%26 = load ptr, ptr %8, align 8
%27 = load ptr, ptr %9, align 8
%28 = icmp ne ptr %26, %27
br i1 %28, label %29, label %31
29: ; preds = %25
%30 = call i32 (...) @abort() #3
unreachable
31: ; preds = %25
%32 = load ptr, ptr %7, align 8
%33 = call i32 @acc_delete(ptr noundef %32, i32 noundef 256)
%34 = load ptr, ptr %7, align 8
%35 = call i32 @free(ptr noundef %34)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare ptr @acc_present_or_create(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @acc_delete(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" }
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/tmpabva6bac.c'
source_filename = "/tmp/tmpabva6bac.c"
target datalayout = "e-m:e-p270: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/tmpabva6bac.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_d7rfim5.c'
source_filename = "/tmp/tmp_d7rfim5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"U_WMRB1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @U_WMRB1_set() #0 {
%1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str)
ret ptr %1
}
declare ptr @U_WMRCORENONE_set(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_d7rfim5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"U_WMRB1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @U_WMRB1_set() #0 {
%1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str)
ret ptr %1
}
declare ptr @U_WMRCORENONE_set(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprlioojna.c'
source_filename = "/tmp/tmprlioojna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @white2space(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = call i64 @is_white(i8 noundef signext %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i8 32, ptr %2, align 1
br label %10
8: ; preds = %1
%9 = load i8, ptr %3, align 1
store i8 %9, ptr %2, align 1
br label %10
10: ; preds = %8, %7
%11 = load i8, ptr %2, align 1
ret i8 %11
}
declare i64 @is_white(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprlioojna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @white2space(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = call i64 @is_white(i8 noundef signext %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i8 32, ptr %2, align 1
br label %10
8: ; preds = %1
%9 = load i8, ptr %3, align 1
store i8 %9, ptr %2, align 1
br label %10
10: ; preds = %8, %7
%11 = load i8, ptr %2, align 1
ret i8 %11
}
declare i64 @is_white(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkgnsm2ep.c'
source_filename = "/tmp/tmpkgnsm2ep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: ./crack hash\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 ptr, align 8
%7 = alloca [2 x i8], align 1
%8 = 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
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %31
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
store ptr %16, ptr %6, align 8
%17 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%18 = load ptr, ptr %6, align 8
%19 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i32 noundef 2)
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%22 = call i32 @check_dict(ptr noundef %20, ptr noundef %21)
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %26, label %25
25: ; preds = %13
store i32 0, ptr %3, align 4
br label %31
26: ; preds = %13
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%29 = call i32 @brute_force(ptr noundef %27, ptr noundef %28)
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
store i32 %30, ptr %3, align 4
br label %31
31: ; preds = %26, %25, %11
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare i32 @printf(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @check_dict(ptr noundef, ptr noundef) #1
declare i32 @brute_force(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/tmpkgnsm2ep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: ./crack hash\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 ptr, align 8
%7 = alloca [2 x i8], align 1
%8 = 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
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %31
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
store ptr %16, ptr %6, align 8
%17 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%18 = load ptr, ptr %6, align 8
%19 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i32 noundef 2)
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%22 = call i32 @check_dict(ptr noundef %20, ptr noundef %21)
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %26, label %25
25: ; preds = %13
store i32 0, ptr %3, align 4
br label %31
26: ; preds = %13
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%29 = call i32 @brute_force(ptr noundef %27, ptr noundef %28)
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
store i32 %30, ptr %3, align 4
br label %31
31: ; preds = %26, %25, %11
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare i32 @printf(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @check_dict(ptr noundef, ptr noundef) #1
declare i32 @brute_force(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/tmp2af2ebjp.c'
source_filename = "/tmp/tmp2af2ebjp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Meg mindig en vagyok a kazy\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kazymasikfunc() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2af2ebjp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Meg mindig en vagyok a kazy\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kazymasikfunc() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnf2qy1py.c'
source_filename = "/tmp/tmpnf2qy1py.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_init() #0 {
%1 = alloca i32, align 4
%2 = call i32 @PUT32(i32 noundef 539054084, i32 noundef 1)
%3 = call i32 @PUT32(i32 noundef 539054148, i32 noundef 0)
%4 = call i32 @PUT32(i32 noundef 539054176, i32 noundef 0)
%5 = call i32 @PUT32(i32 noundef 539054156, i32 noundef 3)
%6 = call i32 @PUT32(i32 noundef 539054160, i32 noundef 0)
%7 = call i32 @PUT32(i32 noundef 539054148, i32 noundef 0)
%8 = call i32 @PUT32(i32 noundef 539054152, i32 noundef 198)
%9 = call i32 @PUT32(i32 noundef 539054184, i32 noundef 270)
%10 = call i32 @GET32(i32 noundef 538968068)
store i32 %10, ptr %1, align 4
%11 = load i32, ptr %1, align 4
%12 = and i32 %11, -28673
store i32 %12, ptr %1, align 4
%13 = load i32, ptr %1, align 4
%14 = or i32 %13, 8192
store i32 %14, ptr %1, align 4
%15 = load i32, ptr %1, align 4
%16 = and i32 %15, -229377
store i32 %16, ptr %1, align 4
%17 = load i32, ptr %1, align 4
%18 = or i32 %17, 65536
store i32 %18, ptr %1, align 4
%19 = load i32, ptr %1, align 4
%20 = call i32 @PUT32(i32 noundef 538968068, i32 noundef %19)
%21 = call i32 @PUT32(i32 noundef 538968212, i32 noundef 0)
store i32 0, ptr %1, align 4
br label %22
22: ; preds = %28, %0
%23 = load i32, ptr %1, align 4
%24 = icmp ult i32 %23, 150
br i1 %24, label %25, label %31
25: ; preds = %22
%26 = load i32, ptr %1, align 4
%27 = call i32 @dummy(i32 noundef %26)
br label %28
28: ; preds = %25
%29 = load i32, ptr %1, align 4
%30 = add i32 %29, 1
store i32 %30, ptr %1, align 4
br label %22, !llvm.loop !6
31: ; preds = %22
%32 = call i32 @PUT32(i32 noundef 538968216, i32 noundef 49152)
store i32 0, ptr %1, align 4
br label %33
33: ; preds = %39, %31
%34 = load i32, ptr %1, align 4
%35 = icmp ult i32 %34, 150
br i1 %35, label %36, label %42
36: ; preds = %33
%37 = load i32, ptr %1, align 4
%38 = call i32 @dummy(i32 noundef %37)
br label %39
39: ; preds = %36
%40 = load i32, ptr %1, align 4
%41 = add i32 %40, 1
store i32 %41, ptr %1, align 4
br label %33, !llvm.loop !8
42: ; preds = %33
%43 = call i32 @PUT32(i32 noundef 538968216, i32 noundef 0)
%44 = call i32 @PUT32(i32 noundef 539054176, i32 noundef 3)
ret void
}
declare i32 @PUT32(i32 noundef, i32 noundef) #1
declare i32 @GET32(i32 noundef) #1
declare i32 @dummy(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnf2qy1py.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_init() #0 {
%1 = alloca i32, align 4
%2 = call i32 @PUT32(i32 noundef 539054084, i32 noundef 1)
%3 = call i32 @PUT32(i32 noundef 539054148, i32 noundef 0)
%4 = call i32 @PUT32(i32 noundef 539054176, i32 noundef 0)
%5 = call i32 @PUT32(i32 noundef 539054156, i32 noundef 3)
%6 = call i32 @PUT32(i32 noundef 539054160, i32 noundef 0)
%7 = call i32 @PUT32(i32 noundef 539054148, i32 noundef 0)
%8 = call i32 @PUT32(i32 noundef 539054152, i32 noundef 198)
%9 = call i32 @PUT32(i32 noundef 539054184, i32 noundef 270)
%10 = call i32 @GET32(i32 noundef 538968068)
store i32 %10, ptr %1, align 4
%11 = load i32, ptr %1, align 4
%12 = and i32 %11, -28673
store i32 %12, ptr %1, align 4
%13 = load i32, ptr %1, align 4
%14 = or i32 %13, 8192
store i32 %14, ptr %1, align 4
%15 = load i32, ptr %1, align 4
%16 = and i32 %15, -229377
store i32 %16, ptr %1, align 4
%17 = load i32, ptr %1, align 4
%18 = or i32 %17, 65536
store i32 %18, ptr %1, align 4
%19 = load i32, ptr %1, align 4
%20 = call i32 @PUT32(i32 noundef 538968068, i32 noundef %19)
%21 = call i32 @PUT32(i32 noundef 538968212, i32 noundef 0)
store i32 0, ptr %1, align 4
%22 = load i32, ptr %1, align 4
%23 = icmp ult i32 %22, 150
br i1 %23, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %24
24: ; preds = %.lr.ph, %27
%25 = load i32, ptr %1, align 4
%26 = call i32 @dummy(i32 noundef %25)
br label %27
27: ; preds = %24
%28 = load i32, ptr %1, align 4
%29 = add i32 %28, 1
store i32 %29, ptr %1, align 4
%30 = load i32, ptr %1, align 4
%31 = icmp ult i32 %30, 150
br i1 %31, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %0
%33 = call i32 @PUT32(i32 noundef 538968216, i32 noundef 49152)
store i32 0, ptr %1, align 4
%34 = load i32, ptr %1, align 4
%35 = icmp ult i32 %34, 150
br i1 %35, label %.lr.ph2, label %44
.lr.ph2: ; preds = %32
br label %36
36: ; preds = %.lr.ph2, %39
%37 = load i32, ptr %1, align 4
%38 = call i32 @dummy(i32 noundef %37)
br label %39
39: ; preds = %36
%40 = load i32, ptr %1, align 4
%41 = add i32 %40, 1
store i32 %41, ptr %1, align 4
%42 = load i32, ptr %1, align 4
%43 = icmp ult i32 %42, 150
br i1 %43, label %36, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %44
44: ; preds = %._crit_edge3, %32
%45 = call i32 @PUT32(i32 noundef 538968216, i32 noundef 0)
%46 = call i32 @PUT32(i32 noundef 539054176, i32 noundef 3)
ret void
}
declare i32 @PUT32(i32 noundef, i32 noundef) #1
declare i32 @GET32(i32 noundef) #1
declare i32 @dummy(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpbrqb7c1w.c'
source_filename = "/tmp/tmpbrqb7c1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGINT = dso_local global i32 0, align 4
@SIG_UNBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @unmask_signals() #0 {
%1 = alloca i32, align 4
%2 = call i32 @sigemptyset(ptr noundef %1)
%3 = load i32, ptr @SIGINT, align 4
%4 = call i32 @sigaddset(ptr noundef %1, i32 noundef %3)
%5 = load i32, ptr @SIG_UNBLOCK, align 4
%6 = call i32 @sigprocmask(i32 noundef %5, ptr noundef %1, ptr noundef null)
ret void
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaddset(ptr noundef, i32 noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbrqb7c1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGINT = dso_local global i32 0, align 4
@SIG_UNBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @unmask_signals() #0 {
%1 = alloca i32, align 4
%2 = call i32 @sigemptyset(ptr noundef %1)
%3 = load i32, ptr @SIGINT, align 4
%4 = call i32 @sigaddset(ptr noundef %1, i32 noundef %3)
%5 = load i32, ptr @SIG_UNBLOCK, align 4
%6 = call i32 @sigprocmask(i32 noundef %5, ptr noundef %1, ptr noundef null)
ret void
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaddset(ptr noundef, i32 noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsq8q_i82.c'
source_filename = "/tmp/tmpsq8q_i82.c"
target datalayout = "e-m:e-p270: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._testHash1.csn = private unnamed_addr constant [8 x i32] [i32 1, i32 2, i32 3, i32 4, i32 247, i32 255, i32 18, i32 224], align 16
@__const._testHash1.expected = private unnamed_addr constant [8 x i32] [i32 126, i32 114, i32 47, i32 64, i32 45, i32 2, i32 81, i32 66], align 16
@.str = private unnamed_addr constant [18 x i8] c"Error with hash1!\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"calculated\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"expected\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_testHash1() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i32], align 16
%3 = alloca [8 x i32], align 16
%4 = alloca [8 x i32], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const._testHash1.csn, i64 32, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 32, i1 false)
%5 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%6 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0
%7 = call i32 @hash1(ptr noundef %5, ptr noundef %6)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const._testHash1.expected, i64 32, i1 false)
%8 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0
%9 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0
%10 = call i64 @memcmp(ptr noundef %8, ptr noundef %9, i32 noundef 8)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %18
12: ; preds = %0
%13 = call i32 @prnlog(ptr noundef @.str)
%14 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0
%15 = call i32 @printarr(ptr noundef @.str.1, ptr noundef %14, i32 noundef 8)
%16 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0
%17 = call i32 @printarr(ptr noundef @.str.2, ptr noundef %16, i32 noundef 8)
store i32 1, ptr %1, align 4
br label %19
18: ; preds = %0
store i32 0, ptr %1, align 4
br label %19
19: ; preds = %18, %12
%20 = load i32, ptr %1, align 4
ret i32 %20
}
; 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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @hash1(ptr noundef, ptr noundef) #3
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #3
declare i32 @prnlog(ptr noundef) #3
declare i32 @printarr(ptr noundef, ptr noundef, i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsq8q_i82.c"
target datalayout = "e-m:e-p270: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._testHash1.csn = private unnamed_addr constant [8 x i32] [i32 1, i32 2, i32 3, i32 4, i32 247, i32 255, i32 18, i32 224], align 16
@__const._testHash1.expected = private unnamed_addr constant [8 x i32] [i32 126, i32 114, i32 47, i32 64, i32 45, i32 2, i32 81, i32 66], align 16
@.str = private unnamed_addr constant [18 x i8] c"Error with hash1!\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"calculated\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"expected\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_testHash1() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i32], align 16
%3 = alloca [8 x i32], align 16
%4 = alloca [8 x i32], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const._testHash1.csn, i64 32, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 32, i1 false)
%5 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%6 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0
%7 = call i32 @hash1(ptr noundef %5, ptr noundef %6)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const._testHash1.expected, i64 32, i1 false)
%8 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0
%9 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0
%10 = call i64 @memcmp(ptr noundef %8, ptr noundef %9, i32 noundef 8)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %18
12: ; preds = %0
%13 = call i32 @prnlog(ptr noundef @.str)
%14 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0
%15 = call i32 @printarr(ptr noundef @.str.1, ptr noundef %14, i32 noundef 8)
%16 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0
%17 = call i32 @printarr(ptr noundef @.str.2, ptr noundef %16, i32 noundef 8)
store i32 1, ptr %1, align 4
br label %19
18: ; preds = %0
store i32 0, ptr %1, align 4
br label %19
19: ; preds = %18, %12
%20 = load i32, ptr %1, align 4
ret i32 %20
}
; 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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @hash1(ptr noundef, ptr noundef) #3
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #3
declare i32 @prnlog(ptr noundef) #3
declare i32 @printarr(ptr noundef, ptr noundef, i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplymo72mg.c'
source_filename = "/tmp/tmplymo72mg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_FLAT = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
@GL_PROJECTION = 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/tmplymo72mg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_FLAT = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
@GL_PROJECTION = 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/tmp2ja6je00.c'
source_filename = "/tmp/tmp2ja6je00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iaap_media_process(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %9, align 8
%13 = load i32, ptr %10, align 4
%14 = call i32 @iaap_media_decode(i32 noundef %11, ptr noundef %12, i32 noundef %13)
ret i32 0
}
declare i32 @iaap_media_decode(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ja6je00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iaap_media_process(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %9, align 8
%13 = load i32, ptr %10, align 4
%14 = call i32 @iaap_media_decode(i32 noundef %11, ptr noundef %12, i32 noundef %13)
ret i32 0
}
declare i32 @iaap_media_decode(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbx7fm0ep.c'
source_filename = "/tmp/tmpbx7fm0ep.c"
target datalayout = "e-m:e-p270: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/tmpbx7fm0ep.c"
target datalayout = "e-m:e-p270: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/tmpwtptybe1.c'
source_filename = "/tmp/tmpwtptybe1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @math() #0 {
%1 = call double @pow(i32 noundef 2, i32 noundef 3)
%2 = call i32 @printf(ptr noundef @.str, double noundef %1)
%3 = call double @pow(i32 noundef 4, i32 noundef 3)
%4 = call i32 @printf(ptr noundef @.str, double noundef %3)
%5 = call double @sqrt(i32 noundef 36)
%6 = call i32 @printf(ptr noundef @.str, double noundef %5)
%7 = call double @llvm.ceil.f64(double 3.635600e+01)
%8 = call i32 @printf(ptr noundef @.str, double noundef %7)
%9 = call double @llvm.floor.f64(double 3.635600e+01)
%10 = call i32 @printf(ptr noundef @.str, double noundef %9)
ret void
}
declare i32 @printf(ptr noundef, double noundef) #1
declare double @pow(i32 noundef, i32 noundef) #1
declare double @sqrt(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.ceil.f64(double) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwtptybe1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @math() #0 {
%1 = call double @pow(i32 noundef 2, i32 noundef 3)
%2 = call i32 @printf(ptr noundef @.str, double noundef %1)
%3 = call double @pow(i32 noundef 4, i32 noundef 3)
%4 = call i32 @printf(ptr noundef @.str, double noundef %3)
%5 = call double @sqrt(i32 noundef 36)
%6 = call i32 @printf(ptr noundef @.str, double noundef %5)
%7 = call double @llvm.ceil.f64(double 3.635600e+01)
%8 = call i32 @printf(ptr noundef @.str, double noundef %7)
%9 = call double @llvm.floor.f64(double 3.635600e+01)
%10 = call i32 @printf(ptr noundef @.str, double noundef %9)
ret void
}
declare i32 @printf(ptr noundef, double noundef) #1
declare double @pow(i32 noundef, i32 noundef) #1
declare double @sqrt(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.ceil.f64(double) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp41hqk9lo.c'
source_filename = "/tmp/tmp41hqk9lo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exopen(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%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 i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store i32 %6, ptr %15, align 4
%18 = load i32, ptr %15, align 4
%19 = add nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 1
%22 = trunc i64 %21 to i32
%23 = call ptr @malloc(i32 noundef %22)
store ptr %23, ptr %16, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %27, label %25
25: ; preds = %7
%26 = load ptr, ptr %14, align 8
store i32 1000, ptr %26, align 4
store i32 -1, ptr %8, align 4
br label %49
27: ; preds = %7
%28 = load ptr, ptr %16, align 8
%29 = load ptr, ptr %9, align 8
%30 = load i32, ptr %15, align 4
%31 = call i32 @ex_nstrncpy(ptr noundef %28, ptr noundef %29, i32 noundef %30)
%32 = load ptr, ptr %16, align 8
%33 = load ptr, ptr %10, align 8
%34 = load i32, ptr %33, align 4
%35 = load ptr, ptr %11, align 8
%36 = load ptr, ptr %12, align 8
%37 = load ptr, ptr %13, align 8
%38 = call i32 @ex_open_int(ptr noundef %32, i32 noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37, i32 noundef 522)
store i32 %38, ptr %17, align 4
%39 = icmp ne i32 %38, -1
br i1 %39, label %40, label %45
40: ; preds = %27
%41 = load ptr, ptr %16, align 8
%42 = call i32 @free(ptr noundef %41)
%43 = load ptr, ptr %14, align 8
store i32 0, ptr %43, align 4
%44 = load i32, ptr %17, align 4
store i32 %44, ptr %8, align 4
br label %49
45: ; preds = %27
%46 = load ptr, ptr %16, align 8
%47 = call i32 @free(ptr noundef %46)
%48 = load ptr, ptr %14, align 8
store i32 -1, ptr %48, align 4
store i32 -1, ptr %8, align 4
br label %49
49: ; preds = %45, %40, %25
%50 = load i32, ptr %8, align 4
ret i32 %50
}
declare ptr @malloc(i32 noundef) #1
declare i32 @ex_nstrncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @ex_open_int(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp41hqk9lo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exopen(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%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 i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store i32 %6, ptr %15, align 4
%18 = load i32, ptr %15, align 4
%19 = add nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 1
%22 = trunc i64 %21 to i32
%23 = call ptr @malloc(i32 noundef %22)
store ptr %23, ptr %16, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %27, label %25
25: ; preds = %7
%26 = load ptr, ptr %14, align 8
store i32 1000, ptr %26, align 4
store i32 -1, ptr %8, align 4
br label %49
27: ; preds = %7
%28 = load ptr, ptr %16, align 8
%29 = load ptr, ptr %9, align 8
%30 = load i32, ptr %15, align 4
%31 = call i32 @ex_nstrncpy(ptr noundef %28, ptr noundef %29, i32 noundef %30)
%32 = load ptr, ptr %16, align 8
%33 = load ptr, ptr %10, align 8
%34 = load i32, ptr %33, align 4
%35 = load ptr, ptr %11, align 8
%36 = load ptr, ptr %12, align 8
%37 = load ptr, ptr %13, align 8
%38 = call i32 @ex_open_int(ptr noundef %32, i32 noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37, i32 noundef 522)
store i32 %38, ptr %17, align 4
%39 = icmp ne i32 %38, -1
br i1 %39, label %40, label %45
40: ; preds = %27
%41 = load ptr, ptr %16, align 8
%42 = call i32 @free(ptr noundef %41)
%43 = load ptr, ptr %14, align 8
store i32 0, ptr %43, align 4
%44 = load i32, ptr %17, align 4
store i32 %44, ptr %8, align 4
br label %49
45: ; preds = %27
%46 = load ptr, ptr %16, align 8
%47 = call i32 @free(ptr noundef %46)
%48 = load ptr, ptr %14, align 8
store i32 -1, ptr %48, align 4
store i32 -1, ptr %8, align 4
br label %49
49: ; preds = %45, %40, %25
%50 = load i32, ptr %8, align 4
ret i32 %50
}
declare ptr @malloc(i32 noundef) #1
declare i32 @ex_nstrncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @ex_open_int(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjv49pe8o.c'
source_filename = "/tmp/tmpjv49pe8o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Usage: %s $dumpfile.cap $keyfile.txt\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"txt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 3
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @printf(ptr noundef @.str, ptr noundef %14)
store i32 1, ptr %3, align 4
br label %51
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
store ptr %22, ptr %7, align 8
store ptr @.str.1, ptr %8, align 8
%23 = load ptr, ptr %7, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = icmp sge i32 %24, 3
br i1 %25, label %26, label %43
26: ; preds = %16
%27 = load ptr, ptr %7, align 8
%28 = load ptr, ptr %7, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %27, i64 %30
%32 = getelementptr inbounds i8, ptr %31, i64 -3
%33 = load ptr, ptr %8, align 8
%34 = call i64 @memcmp(ptr noundef %32, ptr noundef %33, i32 noundef 3)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %43
36: ; preds = %26
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 2
%39 = load ptr, ptr %38, align 8
store ptr %39, ptr %6, align 8
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 1
%42 = load ptr, ptr %41, align 8
store ptr %42, ptr %7, align 8
br label %43
43: ; preds = %36, %26, %16
%44 = load ptr, ptr %7, align 8
%45 = call i32 @readSessionkeyFile(ptr noundef %44)
%46 = load ptr, ptr %6, align 8
%47 = call i32 @parsePcapFile(ptr noundef %46)
%48 = call i32 (...) @removeInvalidConnections()
%49 = call i32 (...) @dumpConnections()
%50 = call i32 (...) @decrypt()
store i32 0, ptr %3, align 4
br label %51
51: ; preds = %43, %11
%52 = load i32, ptr %3, align 4
ret i32 %52
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @readSessionkeyFile(ptr noundef) #1
declare i32 @parsePcapFile(ptr noundef) #1
declare i32 @removeInvalidConnections(...) #1
declare i32 @dumpConnections(...) #1
declare i32 @decrypt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjv49pe8o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Usage: %s $dumpfile.cap $keyfile.txt\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"txt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 3
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @printf(ptr noundef @.str, ptr noundef %14)
store i32 1, ptr %3, align 4
br label %51
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
store ptr %22, ptr %7, align 8
store ptr @.str.1, ptr %8, align 8
%23 = load ptr, ptr %7, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = icmp sge i32 %24, 3
br i1 %25, label %26, label %43
26: ; preds = %16
%27 = load ptr, ptr %7, align 8
%28 = load ptr, ptr %7, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %27, i64 %30
%32 = getelementptr inbounds i8, ptr %31, i64 -3
%33 = load ptr, ptr %8, align 8
%34 = call i64 @memcmp(ptr noundef %32, ptr noundef %33, i32 noundef 3)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %43
36: ; preds = %26
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 2
%39 = load ptr, ptr %38, align 8
store ptr %39, ptr %6, align 8
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 1
%42 = load ptr, ptr %41, align 8
store ptr %42, ptr %7, align 8
br label %43
43: ; preds = %36, %26, %16
%44 = load ptr, ptr %7, align 8
%45 = call i32 @readSessionkeyFile(ptr noundef %44)
%46 = load ptr, ptr %6, align 8
%47 = call i32 @parsePcapFile(ptr noundef %46)
%48 = call i32 (...) @removeInvalidConnections()
%49 = call i32 (...) @dumpConnections()
%50 = call i32 (...) @decrypt()
store i32 0, ptr %3, align 4
br label %51
51: ; preds = %43, %11
%52 = load i32, ptr %3, align 4
ret i32 %52
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @readSessionkeyFile(ptr noundef) #1
declare i32 @parsePcapFile(ptr noundef) #1
declare i32 @removeInvalidConnections(...) #1
declare i32 @dumpConnections(...) #1
declare i32 @decrypt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2dx4tja0.c'
source_filename = "/tmp/tmp2dx4tja0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fdtrcf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @fdtrcf(i32 noundef %0, i32 noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store float %2, ptr %7, align 4
%12 = load float, ptr %7, align 4
store float %12, ptr %8, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %13, 1
br i1 %14, label %22, label %15
15: ; preds = %3
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %16, 1
br i1 %17, label %22, label %18
18: ; preds = %15
%19 = load float, ptr %8, align 4
%20 = fpext float %19 to double
%21 = fcmp olt double %20, 0.000000e+00
br i1 %21, label %22, label %24
22: ; preds = %18, %15, %3
%23 = call i32 @mtherrf(ptr noundef @.str, i32 noundef 1)
store float 0.000000e+00, ptr %4, align 4
br label %43
24: ; preds = %18
%25 = load i32, ptr %5, align 4
%26 = sitofp i32 %25 to float
store float %26, ptr %9, align 4
%27 = load i32, ptr %6, align 4
%28 = sitofp i32 %27 to float
store float %28, ptr %10, align 4
%29 = load float, ptr %10, align 4
%30 = load float, ptr %10, align 4
%31 = load float, ptr %9, align 4
%32 = load float, ptr %8, align 4
%33 = call float @llvm.fmuladd.f32(float %31, float %32, float %30)
%34 = fdiv float %29, %33
store float %34, ptr %11, align 4
%35 = load float, ptr %10, align 4
%36 = fpext float %35 to double
%37 = fmul double 5.000000e-01, %36
%38 = load float, ptr %9, align 4
%39 = fpext float %38 to double
%40 = fmul double 5.000000e-01, %39
%41 = load float, ptr %11, align 4
%42 = call float @incbetf(double noundef %37, double noundef %40, float noundef %41)
store float %42, ptr %4, align 4
br label %43
43: ; preds = %24, %22
%44 = load float, ptr %4, align 4
ret float %44
}
declare i32 @mtherrf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @incbetf(double noundef, double noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2dx4tja0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fdtrcf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @fdtrcf(i32 noundef %0, i32 noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store float %2, ptr %7, align 4
%12 = load float, ptr %7, align 4
store float %12, ptr %8, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %13, 1
br i1 %14, label %22, label %15
15: ; preds = %3
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %16, 1
br i1 %17, label %22, label %18
18: ; preds = %15
%19 = load float, ptr %8, align 4
%20 = fpext float %19 to double
%21 = fcmp olt double %20, 0.000000e+00
br i1 %21, label %22, label %24
22: ; preds = %18, %15, %3
%23 = call i32 @mtherrf(ptr noundef @.str, i32 noundef 1)
store float 0.000000e+00, ptr %4, align 4
br label %43
24: ; preds = %18
%25 = load i32, ptr %5, align 4
%26 = sitofp i32 %25 to float
store float %26, ptr %9, align 4
%27 = load i32, ptr %6, align 4
%28 = sitofp i32 %27 to float
store float %28, ptr %10, align 4
%29 = load float, ptr %10, align 4
%30 = load float, ptr %10, align 4
%31 = load float, ptr %9, align 4
%32 = load float, ptr %8, align 4
%33 = call float @llvm.fmuladd.f32(float %31, float %32, float %30)
%34 = fdiv float %29, %33
store float %34, ptr %11, align 4
%35 = load float, ptr %10, align 4
%36 = fpext float %35 to double
%37 = fmul double 5.000000e-01, %36
%38 = load float, ptr %9, align 4
%39 = fpext float %38 to double
%40 = fmul double 5.000000e-01, %39
%41 = load float, ptr %11, align 4
%42 = call float @incbetf(double noundef %37, double noundef %40, float noundef %41)
store float %42, ptr %4, align 4
br label %43
43: ; preds = %24, %22
%44 = load float, ptr %4, align 4
ret float %44
}
declare i32 @mtherrf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @incbetf(double noundef, double noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvrrw2x1y.c'
source_filename = "/tmp/tmpvrrw2x1y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @index_of(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %50, %3
%10 = load i32, ptr %8, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp ult i32 %10, %11
br i1 %12, label %13, label %21
13: ; preds = %9
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %8, align 4
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br label %21
21: ; preds = %13, %9
%22 = phi i1 [ false, %9 ], [ %20, %13 ]
br i1 %22, label %23, label %53
23: ; preds = %21
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %8, align 4
%26 = zext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i32
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 0
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %29, %33
br i1 %34, label %35, label %49
35: ; preds = %23
%36 = load ptr, ptr %5, align 8
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %8, align 4
%39 = zext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %8, align 4
%43 = sub i32 %41, %42
%44 = call i64 @starts_with(ptr noundef %36, ptr noundef %40, i32 noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %35
%47 = load i32, ptr %8, align 4
store i32 %47, ptr %4, align 4
br label %54
48: ; preds = %35
br label %49
49: ; preds = %48, %23
br label %50
50: ; preds = %49
%51 = load i32, ptr %8, align 4
%52 = add i32 %51, 1
store i32 %52, ptr %8, align 4
br label %9, !llvm.loop !6
53: ; preds = %21
store i32 -1, ptr %4, align 4
br label %54
54: ; preds = %53, %46
%55 = load i32, ptr %4, align 4
ret i32 %55
}
declare i64 @starts_with(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvrrw2x1y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @index_of(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %50, %3
%10 = load i32, ptr %8, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp ult i32 %10, %11
br i1 %12, label %13, label %21
13: ; preds = %9
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %8, align 4
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br label %21
21: ; preds = %13, %9
%22 = phi i1 [ false, %9 ], [ %20, %13 ]
br i1 %22, label %23, label %53
23: ; preds = %21
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %8, align 4
%26 = zext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i32
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 0
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %29, %33
br i1 %34, label %35, label %49
35: ; preds = %23
%36 = load ptr, ptr %5, align 8
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %8, align 4
%39 = zext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %8, align 4
%43 = sub i32 %41, %42
%44 = call i64 @starts_with(ptr noundef %36, ptr noundef %40, i32 noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %35
%47 = load i32, ptr %8, align 4
store i32 %47, ptr %4, align 4
br label %54
48: ; preds = %35
br label %49
49: ; preds = %48, %23
br label %50
50: ; preds = %49
%51 = load i32, ptr %8, align 4
%52 = add i32 %51, 1
store i32 %52, ptr %8, align 4
br label %9, !llvm.loop !6
53: ; preds = %21
store i32 -1, ptr %4, align 4
br label %54
54: ; preds = %53, %46
%55 = load i32, ptr %4, align 4
ret i32 %55
}
declare i64 @starts_with(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpaa27eakm.c'
source_filename = "/tmp/tmpaa27eakm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @core_cpu_i_op_jz(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 = call i32 @core_cpu_i__jump(ptr noundef %5, ptr noundef %6, i32 noundef 1)
ret void
}
declare i32 @core_cpu_i__jump(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/tmpaa27eakm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @core_cpu_i_op_jz(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 = call i32 @core_cpu_i__jump(ptr noundef %5, ptr noundef %6, i32 noundef 1)
ret void
}
declare i32 @core_cpu_i__jump(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/tmputts5ch5.c'
source_filename = "/tmp/tmputts5ch5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_impl(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
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
store i64 0, ptr %9, align 8
br label %12
12: ; preds = %24, %3
%13 = load i64, ptr %9, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %16, label %27
16: ; preds = %12
%17 = load ptr, ptr %8, align 8
%18 = load i64, ptr %9, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
%20 = load i8, ptr %19, align 1
%21 = load ptr, ptr %7, align 8
%22 = load i64, ptr %9, align 8
%23 = getelementptr inbounds i8, ptr %21, i64 %22
store i8 %20, ptr %23, align 1
br label %24
24: ; preds = %16
%25 = load i64, ptr %9, align 8
%26 = add i64 %25, 1
store i64 %26, ptr %9, align 8
br label %12, !llvm.loop !6
27: ; preds = %12
%28 = load ptr, ptr %4, align 8
ret ptr %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmputts5ch5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_impl(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
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
store i64 0, ptr %9, align 8
%12 = load i64, ptr %9, align 8
%13 = load i64, ptr %6, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %.lr.ph, label %29
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %23
%16 = load ptr, ptr %8, align 8
%17 = load i64, ptr %9, align 8
%18 = getelementptr inbounds i8, ptr %16, i64 %17
%19 = load i8, ptr %18, align 1
%20 = load ptr, ptr %7, align 8
%21 = load i64, ptr %9, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
store i8 %19, ptr %22, align 1
br label %23
23: ; preds = %15
%24 = load i64, ptr %9, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %9, align 8
%26 = load i64, ptr %9, align 8
%27 = load i64, ptr %6, align 8
%28 = icmp ult i64 %26, %27
br i1 %28, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %3
%30 = load ptr, ptr %4, align 8
ret ptr %30
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpyexob37p.c'
source_filename = "/tmp/tmpyexob37p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"value:%d\0A\00", align 1
@.str.2 = 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 ptr, align 8
%8 = 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
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = load i32, ptr @O_RDWR, align 4
%13 = load i32, ptr @S_IRUSR, align 4
%14 = load i32, ptr @S_IWUSR, align 4
%15 = or i32 %13, %14
%16 = call i32 @open(ptr noundef %11, i32 noundef %12, i32 noundef %15)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr @PROT_READ, align 4
%18 = load i32, ptr @PROT_WRITE, align 4
%19 = or i32 %17, %18
%20 = load i32, ptr @MAP_SHARED, align 4
%21 = load i32, ptr %6, align 4
%22 = call ptr @mmap(i32 noundef 0, i32 noundef 256, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef 0)
store ptr %22, ptr %7, align 8
%23 = load i32, ptr %6, align 4
%24 = call i32 @close(i32 noundef %23)
%25 = load ptr, ptr %7, align 8
%26 = call i32 @sscanf(ptr noundef %25, ptr noundef @.str, ptr noundef %8)
%27 = load i32, ptr %8, align 4
%28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %27)
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %8, align 4
%31 = mul nsw i32 2, %30
%32 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.2, i32 noundef %31)
%33 = load ptr, ptr %7, align 8
%34 = call i32 @munmap(ptr noundef %33, i32 noundef 256)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @munmap(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/tmpyexob37p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"value:%d\0A\00", align 1
@.str.2 = 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 ptr, align 8
%8 = 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
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = load i32, ptr @O_RDWR, align 4
%13 = load i32, ptr @S_IRUSR, align 4
%14 = load i32, ptr @S_IWUSR, align 4
%15 = or i32 %13, %14
%16 = call i32 @open(ptr noundef %11, i32 noundef %12, i32 noundef %15)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr @PROT_READ, align 4
%18 = load i32, ptr @PROT_WRITE, align 4
%19 = or i32 %17, %18
%20 = load i32, ptr @MAP_SHARED, align 4
%21 = load i32, ptr %6, align 4
%22 = call ptr @mmap(i32 noundef 0, i32 noundef 256, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef 0)
store ptr %22, ptr %7, align 8
%23 = load i32, ptr %6, align 4
%24 = call i32 @close(i32 noundef %23)
%25 = load ptr, ptr %7, align 8
%26 = call i32 @sscanf(ptr noundef %25, ptr noundef @.str, ptr noundef %8)
%27 = load i32, ptr %8, align 4
%28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %27)
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %8, align 4
%31 = mul nsw i32 2, %30
%32 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.2, i32 noundef %31)
%33 = load ptr, ptr %7, align 8
%34 = call i32 @munmap(ptr noundef %33, i32 noundef 256)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @munmap(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/tmpx_e1xo97.c'
source_filename = "/tmp/tmpx_e1xo97.c"
target datalayout = "e-m:e-p270: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/tmpx_e1xo97.c"
target datalayout = "e-m:e-p270: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/tmpewevtyyh.c'
source_filename = "/tmp/tmpewevtyyh.c"
target datalayout = "e-m:e-p270: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/tmpewevtyyh.c"
target datalayout = "e-m:e-p270: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/tmpljczz4iw.c'
source_filename = "/tmp/tmpljczz4iw.c"
target datalayout = "e-m:e-p270: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
@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/tmpljczz4iw.c"
target datalayout = "e-m:e-p270: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
@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/tmpjgl6j_tb.c'
source_filename = "/tmp/tmpjgl6j_tb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isalnum should be 1 for q\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalnum_0x71() #0 {
%1 = call i32 @isalnum(i32 noundef 113) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 570, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isalnum(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjgl6j_tb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isalnum should be 1 for q\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalnum_0x71() #0 {
%1 = call i32 @isalnum(i32 noundef 113) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 570, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isalnum(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpti8vupm8.c'
source_filename = "/tmp/tmpti8vupm8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
store i32 2, ptr %7, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %21, %2
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %11, 4000000
br i1 %12, label %13, label %27
13: ; preds = %10
%14 = load i32, ptr %7, align 4
%15 = srem i32 %14, 2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %13
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %9, align 4
%20 = add nsw i32 %19, %18
store i32 %20, ptr %9, align 4
br label %21
21: ; preds = %17, %13
%22 = load i32, ptr %7, align 4
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, %23
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %8, align 4
store i32 %26, ptr %6, align 4
br label %10, !llvm.loop !6
27: ; preds = %10
%28 = load i32, ptr %9, align 4
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %28)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpti8vupm8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
store i32 2, ptr %7, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 4000000
br i1 %11, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %20
%13 = load i32, ptr %7, align 4
%14 = srem i32 %13, 2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %9, align 4
%19 = add nsw i32 %18, %17
store i32 %19, ptr %9, align 4
br label %20
20: ; preds = %16, %12
%21 = load i32, ptr %7, align 4
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, %22
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %8, align 4
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp slt i32 %26, 4000000
br i1 %27, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %28
28: ; preds = %._crit_edge, %2
%29 = load i32, ptr %9, align 4
%30 = call i32 @printf(ptr noundef @.str, i32 noundef %29)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkc7rww4n.c'
source_filename = "/tmp/tmpkc7rww4n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.4x\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%.39s\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%.47s\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%.2x\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"%.76s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dWordHex(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i16, align 2
%11 = alloca [82 x i8], align 16
%12 = alloca i8, align 1
%13 = alloca i8, align 1
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%22 = load ptr, ptr %5, align 8
store ptr %22, ptr %9, align 8
store i32 0, ptr %14, align 4
store i32 3, ptr %15, align 4
store i32 52, ptr %16, align 4
store i32 52, ptr %17, align 4
store i32 3, ptr %18, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp sle i32 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %4
br label %228
26: ; preds = %4
store i32 82, ptr %21, align 4
%27 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%28 = call i32 @memset(ptr noundef %27, i8 noundef signext 32, i32 noundef 80)
%29 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 80
store i8 0, ptr %29, align 16
%30 = load i32, ptr %7, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %101
32: ; preds = %26
store i32 0, ptr %20, align 4
br label %33
33: ; preds = %83, %32
%34 = load i32, ptr %20, align 4
%35 = load i32, ptr %6, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %86
37: ; preds = %33
%38 = load ptr, ptr %9, align 8
%39 = getelementptr inbounds i16, ptr %38, i32 1
store ptr %39, ptr %9, align 8
%40 = load i16, ptr %38, align 2
store i16 %40, ptr %10, align 2
%41 = load i32, ptr %8, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %37
%44 = load i16, ptr %10, align 2
%45 = call zeroext i16 @swapb_ushort(i16 noundef zeroext %44)
store i16 %45, ptr %10, align 2
br label %46
46: ; preds = %43, %37
%47 = load i32, ptr %18, align 4
%48 = add nsw i32 %47, 5
store i32 %48, ptr %18, align 4
%49 = load i32, ptr %18, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %50
%52 = load i32, ptr %21, align 4
%53 = load i32, ptr %18, align 4
%54 = sub nsw i32 %52, %53
%55 = load i16, ptr %10, align 2
%56 = zext i16 %55 to i32
%57 = call i32 @my_snprintf(ptr noundef %51, i32 noundef %54, ptr noundef @.str, i32 noundef %56)
%58 = load i32, ptr %18, align 4
%59 = add nsw i32 %58, 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %60
store i8 32, ptr %61, align 1
%62 = load i32, ptr %20, align 4
%63 = icmp sgt i32 %62, 0
br i1 %63, label %64, label %82
64: ; preds = %46
%65 = load i32, ptr %20, align 4
%66 = add nsw i32 %65, 1
%67 = srem i32 %66, 8
%68 = icmp eq i32 0, %67
br i1 %68, label %69, label %82
69: ; preds = %64
%70 = load i32, ptr %7, align 4
%71 = icmp eq i32 -2, %70
br i1 %71, label %72, label %76
72: ; preds = %69
%73 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%74 = getelementptr inbounds i8, ptr %73, i64 8
%75 = call i32 @printf(ptr noundef @.str.1, ptr noundef %74)
br label %79
76: ; preds = %69
%77 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%78 = call i32 @printf(ptr noundef @.str.2, ptr noundef %77)
br label %79
79: ; preds = %76, %72
store i32 3, ptr %18, align 4
%80 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%81 = call i32 @memset(ptr noundef %80, i8 noundef signext 32, i32 noundef 80)
br label %82
82: ; preds = %79, %64, %46
br label %83
83: ; preds = %82
%84 = load i32, ptr %20, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %20, align 4
br label %33, !llvm.loop !6
86: ; preds = %33
%87 = load i32, ptr %18, align 4
%88 = icmp sgt i32 %87, 3
br i1 %88, label %89, label %100
89: ; preds = %86
%90 = load i32, ptr %7, align 4
%91 = icmp eq i32 -2, %90
br i1 %91, label %92, label %96
92: ; preds = %89
%93 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%94 = getelementptr inbounds i8, ptr %93, i64 8
%95 = call i32 @printf(ptr noundef @.str.1, ptr noundef %94)
br label %99
96: ; preds = %89
%97 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%98 = call i32 @printf(ptr noundef @.str.2, ptr noundef %97)
br label %99
99: ; preds = %96, %92
br label %100
100: ; preds = %99, %86
br label %228
101: ; preds = %26
%102 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%103 = getelementptr inbounds i8, ptr %102, i64 1
%104 = load i32, ptr %21, align 4
%105 = sub nsw i32 %104, 1
%106 = load i32, ptr %14, align 4
%107 = call i32 @my_snprintf(ptr noundef %103, i32 noundef %105, ptr noundef @.str.3, i32 noundef %106)
store i32 %107, ptr %20, align 4
%108 = load i32, ptr %20, align 4
%109 = add nsw i32 %108, 1
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %110
store i8 32, ptr %111, align 1
store i32 0, ptr %19, align 4
br label %112
112: ; preds = %219, %101
%113 = load i32, ptr %19, align 4
%114 = load i32, ptr %6, align 4
%115 = icmp slt i32 %113, %114
br i1 %115, label %116, label %222
116: ; preds = %112
%117 = load ptr, ptr %9, align 8
%118 = getelementptr inbounds i16, ptr %117, i32 1
store ptr %118, ptr %9, align 8
%119 = load i16, ptr %117, align 2
store i16 %119, ptr %10, align 2
%120 = load i32, ptr %8, align 4
%121 = icmp ne i32 %120, 0
br i1 %121, label %122, label %125
122: ; preds = %116
%123 = load i16, ptr %10, align 2
%124 = call zeroext i16 @swapb_ushort(i16 noundef zeroext %123)
store i16 %124, ptr %10, align 2
br label %125
125: ; preds = %122, %116
%126 = load i32, ptr %18, align 4
%127 = add nsw i32 %126, 5
store i32 %127, ptr %18, align 4
%128 = load i32, ptr %18, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %129
%131 = load i32, ptr %21, align 4
%132 = load i32, ptr %18, align 4
%133 = sub nsw i32 %131, %132
%134 = load i16, ptr %10, align 2
%135 = zext i16 %134 to i32
%136 = call i32 @my_snprintf(ptr noundef %130, i32 noundef %133, ptr noundef @.str, i32 noundef %135)
%137 = load i32, ptr %18, align 4
%138 = add nsw i32 %137, 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %139
store i8 32, ptr %140, align 1
%141 = load i32, ptr %7, align 4
%142 = icmp ne i32 %141, 0
br i1 %142, label %143, label %156
143: ; preds = %125
%144 = load i32, ptr %17, align 4
%145 = add nsw i32 %144, 1
store i32 %145, ptr %17, align 4
%146 = sext i32 %144 to i64
%147 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %146
store i8 32, ptr %147, align 1
%148 = load i32, ptr %17, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %17, align 4
%150 = sext i32 %148 to i64
%151 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %150
store i8 32, ptr %151, align 1
%152 = load i32, ptr %17, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %17, align 4
%154 = sext i32 %152 to i64
%155 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %154
store i8 32, ptr %155, align 1
br label %198
156: ; preds = %125
%157 = load i16, ptr %10, align 2
%158 = zext i16 %157 to i32
%159 = ashr i32 %158, 8
%160 = and i32 %159, 255
%161 = trunc i32 %160 to i8
store i8 %161, ptr %12, align 1
%162 = load i16, ptr %10, align 2
%163 = zext i16 %162 to i32
%164 = and i32 %163, 255
%165 = trunc i32 %164 to i8
store i8 %165, ptr %13, align 1
%166 = load i8, ptr %12, align 1
%167 = zext i8 %166 to i32
%168 = icmp slt i32 %167, 32
br i1 %168, label %173, label %169
169: ; preds = %156
%170 = load i8, ptr %12, align 1
%171 = zext i8 %170 to i32
%172 = icmp sge i32 %171, 127
br i1 %172, label %173, label %174
173: ; preds = %169, %156
store i8 46, ptr %12, align 1
br label %174
174: ; preds = %173, %169
%175 = load i8, ptr %12, align 1
%176 = load i32, ptr %17, align 4
%177 = add nsw i32 %176, 1
store i32 %177, ptr %17, align 4
%178 = sext i32 %176 to i64
%179 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %178
store i8 %175, ptr %179, align 1
%180 = load i8, ptr %13, align 1
%181 = zext i8 %180 to i32
%182 = icmp slt i32 %181, 32
br i1 %182, label %187, label %183
183: ; preds = %174
%184 = load i8, ptr %13, align 1
%185 = zext i8 %184 to i32
%186 = icmp sge i32 %185, 127
br i1 %186, label %187, label %188
187: ; preds = %183, %174
store i8 46, ptr %13, align 1
br label %188
188: ; preds = %187, %183
%189 = load i8, ptr %13, align 1
%190 = load i32, ptr %17, align 4
%191 = add nsw i32 %190, 1
store i32 %191, ptr %17, align 4
%192 = sext i32 %190 to i64
%193 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %192
store i8 %189, ptr %193, align 1
%194 = load i32, ptr %17, align 4
%195 = add nsw i32 %194, 1
store i32 %195, ptr %17, align 4
%196 = sext i32 %194 to i64
%197 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %196
store i8 32, ptr %197, align 1
br label %198
198: ; preds = %188, %143
%199 = load i32, ptr %17, align 4
%200 = icmp sgt i32 %199, 75
br i1 %200, label %201, label %218
201: ; preds = %198
%202 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%203 = call i32 @printf(ptr noundef @.str.4, ptr noundef %202)
store i32 3, ptr %18, align 4
store i32 52, ptr %17, align 4
%204 = load i32, ptr %14, align 4
%205 = add nsw i32 %204, 8
store i32 %205, ptr %14, align 4
%206 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%207 = call i32 @memset(ptr noundef %206, i8 noundef signext 32, i32 noundef 80)
%208 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%209 = getelementptr inbounds i8, ptr %208, i64 1
%210 = load i32, ptr %21, align 4
%211 = sub nsw i32 %210, 1
%212 = load i32, ptr %14, align 4
%213 = call i32 @my_snprintf(ptr noundef %209, i32 noundef %211, ptr noundef @.str.3, i32 noundef %212)
store i32 %213, ptr %20, align 4
%214 = load i32, ptr %20, align 4
%215 = add nsw i32 %214, 1
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %216
store i8 32, ptr %217, align 1
br label %218
218: ; preds = %201, %198
br label %219
219: ; preds = %218
%220 = load i32, ptr %19, align 4
%221 = add nsw i32 %220, 1
store i32 %221, ptr %19, align 4
br label %112, !llvm.loop !8
222: ; preds = %112
%223 = load i32, ptr %17, align 4
%224 = icmp sgt i32 %223, 52
br i1 %224, label %225, label %228
225: ; preds = %222
%226 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%227 = call i32 @printf(ptr noundef @.str.4, ptr noundef %226)
br label %228
228: ; preds = %25, %100, %225, %222
ret void
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare zeroext i16 @swapb_ushort(i16 noundef zeroext) #1
declare i32 @my_snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkc7rww4n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.4x\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%.39s\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%.47s\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%.2x\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"%.76s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dWordHex(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i16, align 2
%11 = alloca [82 x i8], align 16
%12 = alloca i8, align 1
%13 = alloca i8, align 1
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%22 = load ptr, ptr %5, align 8
store ptr %22, ptr %9, align 8
store i32 0, ptr %14, align 4
store i32 3, ptr %15, align 4
store i32 52, ptr %16, align 4
store i32 52, ptr %17, align 4
store i32 3, ptr %18, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp sle i32 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %4
br label %232
26: ; preds = %4
store i32 82, ptr %21, align 4
%27 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%28 = call i32 @memset(ptr noundef %27, i8 noundef signext 32, i32 noundef 80)
%29 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 80
store i8 0, ptr %29, align 16
%30 = load i32, ptr %7, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %103
32: ; preds = %26
store i32 0, ptr %20, align 4
%33 = load i32, ptr %20, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph2, label %88
.lr.ph2: ; preds = %32
br label %36
36: ; preds = %.lr.ph2, %82
%37 = load ptr, ptr %9, align 8
%38 = getelementptr inbounds i16, ptr %37, i32 1
store ptr %38, ptr %9, align 8
%39 = load i16, ptr %37, align 2
store i16 %39, ptr %10, align 2
%40 = load i32, ptr %8, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %36
%43 = load i16, ptr %10, align 2
%44 = call zeroext i16 @swapb_ushort(i16 noundef zeroext %43)
store i16 %44, ptr %10, align 2
br label %45
45: ; preds = %42, %36
%46 = load i32, ptr %18, align 4
%47 = add nsw i32 %46, 5
store i32 %47, ptr %18, align 4
%48 = load i32, ptr %18, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %49
%51 = load i32, ptr %21, align 4
%52 = load i32, ptr %18, align 4
%53 = sub nsw i32 %51, %52
%54 = load i16, ptr %10, align 2
%55 = zext i16 %54 to i32
%56 = call i32 @my_snprintf(ptr noundef %50, i32 noundef %53, ptr noundef @.str, i32 noundef %55)
%57 = load i32, ptr %18, align 4
%58 = add nsw i32 %57, 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %59
store i8 32, ptr %60, align 1
%61 = load i32, ptr %20, align 4
%62 = icmp sgt i32 %61, 0
br i1 %62, label %63, label %81
63: ; preds = %45
%64 = load i32, ptr %20, align 4
%65 = add nsw i32 %64, 1
%66 = srem i32 %65, 8
%67 = icmp eq i32 0, %66
br i1 %67, label %68, label %81
68: ; preds = %63
%69 = load i32, ptr %7, align 4
%70 = icmp eq i32 -2, %69
br i1 %70, label %71, label %75
71: ; preds = %68
%72 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%73 = getelementptr inbounds i8, ptr %72, i64 8
%74 = call i32 @printf(ptr noundef @.str.1, ptr noundef %73)
br label %78
75: ; preds = %68
%76 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%77 = call i32 @printf(ptr noundef @.str.2, ptr noundef %76)
br label %78
78: ; preds = %75, %71
store i32 3, ptr %18, align 4
%79 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%80 = call i32 @memset(ptr noundef %79, i8 noundef signext 32, i32 noundef 80)
br label %81
81: ; preds = %78, %63, %45
br label %82
82: ; preds = %81
%83 = load i32, ptr %20, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %20, align 4
%85 = load i32, ptr %20, align 4
%86 = load i32, ptr %6, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %36, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %82
br label %88
88: ; preds = %._crit_edge3, %32
%89 = load i32, ptr %18, align 4
%90 = icmp sgt i32 %89, 3
br i1 %90, label %91, label %102
91: ; preds = %88
%92 = load i32, ptr %7, align 4
%93 = icmp eq i32 -2, %92
br i1 %93, label %94, label %98
94: ; preds = %91
%95 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%96 = getelementptr inbounds i8, ptr %95, i64 8
%97 = call i32 @printf(ptr noundef @.str.1, ptr noundef %96)
br label %101
98: ; preds = %91
%99 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%100 = call i32 @printf(ptr noundef @.str.2, ptr noundef %99)
br label %101
101: ; preds = %98, %94
br label %102
102: ; preds = %101, %88
br label %232
103: ; preds = %26
%104 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%105 = getelementptr inbounds i8, ptr %104, i64 1
%106 = load i32, ptr %21, align 4
%107 = sub nsw i32 %106, 1
%108 = load i32, ptr %14, align 4
%109 = call i32 @my_snprintf(ptr noundef %105, i32 noundef %107, ptr noundef @.str.3, i32 noundef %108)
store i32 %109, ptr %20, align 4
%110 = load i32, ptr %20, align 4
%111 = add nsw i32 %110, 1
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %112
store i8 32, ptr %113, align 1
store i32 0, ptr %19, align 4
%114 = load i32, ptr %19, align 4
%115 = load i32, ptr %6, align 4
%116 = icmp slt i32 %114, %115
br i1 %116, label %.lr.ph, label %226
.lr.ph: ; preds = %103
br label %117
117: ; preds = %.lr.ph, %220
%118 = load ptr, ptr %9, align 8
%119 = getelementptr inbounds i16, ptr %118, i32 1
store ptr %119, ptr %9, align 8
%120 = load i16, ptr %118, align 2
store i16 %120, ptr %10, align 2
%121 = load i32, ptr %8, align 4
%122 = icmp ne i32 %121, 0
br i1 %122, label %123, label %126
123: ; preds = %117
%124 = load i16, ptr %10, align 2
%125 = call zeroext i16 @swapb_ushort(i16 noundef zeroext %124)
store i16 %125, ptr %10, align 2
br label %126
126: ; preds = %123, %117
%127 = load i32, ptr %18, align 4
%128 = add nsw i32 %127, 5
store i32 %128, ptr %18, align 4
%129 = load i32, ptr %18, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %130
%132 = load i32, ptr %21, align 4
%133 = load i32, ptr %18, align 4
%134 = sub nsw i32 %132, %133
%135 = load i16, ptr %10, align 2
%136 = zext i16 %135 to i32
%137 = call i32 @my_snprintf(ptr noundef %131, i32 noundef %134, ptr noundef @.str, i32 noundef %136)
%138 = load i32, ptr %18, align 4
%139 = add nsw i32 %138, 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %140
store i8 32, ptr %141, align 1
%142 = load i32, ptr %7, align 4
%143 = icmp ne i32 %142, 0
br i1 %143, label %144, label %157
144: ; preds = %126
%145 = load i32, ptr %17, align 4
%146 = add nsw i32 %145, 1
store i32 %146, ptr %17, align 4
%147 = sext i32 %145 to i64
%148 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %147
store i8 32, ptr %148, align 1
%149 = load i32, ptr %17, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %17, align 4
%151 = sext i32 %149 to i64
%152 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %151
store i8 32, ptr %152, align 1
%153 = load i32, ptr %17, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %17, align 4
%155 = sext i32 %153 to i64
%156 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %155
store i8 32, ptr %156, align 1
br label %199
157: ; preds = %126
%158 = load i16, ptr %10, align 2
%159 = zext i16 %158 to i32
%160 = ashr i32 %159, 8
%161 = and i32 %160, 255
%162 = trunc i32 %161 to i8
store i8 %162, ptr %12, align 1
%163 = load i16, ptr %10, align 2
%164 = zext i16 %163 to i32
%165 = and i32 %164, 255
%166 = trunc i32 %165 to i8
store i8 %166, ptr %13, align 1
%167 = load i8, ptr %12, align 1
%168 = zext i8 %167 to i32
%169 = icmp slt i32 %168, 32
br i1 %169, label %174, label %170
170: ; preds = %157
%171 = load i8, ptr %12, align 1
%172 = zext i8 %171 to i32
%173 = icmp sge i32 %172, 127
br i1 %173, label %174, label %175
174: ; preds = %170, %157
store i8 46, ptr %12, align 1
br label %175
175: ; preds = %174, %170
%176 = load i8, ptr %12, align 1
%177 = load i32, ptr %17, align 4
%178 = add nsw i32 %177, 1
store i32 %178, ptr %17, align 4
%179 = sext i32 %177 to i64
%180 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %179
store i8 %176, ptr %180, align 1
%181 = load i8, ptr %13, align 1
%182 = zext i8 %181 to i32
%183 = icmp slt i32 %182, 32
br i1 %183, label %188, label %184
184: ; preds = %175
%185 = load i8, ptr %13, align 1
%186 = zext i8 %185 to i32
%187 = icmp sge i32 %186, 127
br i1 %187, label %188, label %189
188: ; preds = %184, %175
store i8 46, ptr %13, align 1
br label %189
189: ; preds = %188, %184
%190 = load i8, ptr %13, align 1
%191 = load i32, ptr %17, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %17, align 4
%193 = sext i32 %191 to i64
%194 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %193
store i8 %190, ptr %194, align 1
%195 = load i32, ptr %17, align 4
%196 = add nsw i32 %195, 1
store i32 %196, ptr %17, align 4
%197 = sext i32 %195 to i64
%198 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %197
store i8 32, ptr %198, align 1
br label %199
199: ; preds = %189, %144
%200 = load i32, ptr %17, align 4
%201 = icmp sgt i32 %200, 75
br i1 %201, label %202, label %219
202: ; preds = %199
%203 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%204 = call i32 @printf(ptr noundef @.str.4, ptr noundef %203)
store i32 3, ptr %18, align 4
store i32 52, ptr %17, align 4
%205 = load i32, ptr %14, align 4
%206 = add nsw i32 %205, 8
store i32 %206, ptr %14, align 4
%207 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%208 = call i32 @memset(ptr noundef %207, i8 noundef signext 32, i32 noundef 80)
%209 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%210 = getelementptr inbounds i8, ptr %209, i64 1
%211 = load i32, ptr %21, align 4
%212 = sub nsw i32 %211, 1
%213 = load i32, ptr %14, align 4
%214 = call i32 @my_snprintf(ptr noundef %210, i32 noundef %212, ptr noundef @.str.3, i32 noundef %213)
store i32 %214, ptr %20, align 4
%215 = load i32, ptr %20, align 4
%216 = add nsw i32 %215, 1
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 %217
store i8 32, ptr %218, align 1
br label %219
219: ; preds = %202, %199
br label %220
220: ; preds = %219
%221 = load i32, ptr %19, align 4
%222 = add nsw i32 %221, 1
store i32 %222, ptr %19, align 4
%223 = load i32, ptr %19, align 4
%224 = load i32, ptr %6, align 4
%225 = icmp slt i32 %223, %224
br i1 %225, label %117, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %220
br label %226
226: ; preds = %._crit_edge, %103
%227 = load i32, ptr %17, align 4
%228 = icmp sgt i32 %227, 52
br i1 %228, label %229, label %232
229: ; preds = %226
%230 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0
%231 = call i32 @printf(ptr noundef @.str.4, ptr noundef %230)
br label %232
232: ; preds = %229, %226, %102, %25
ret void
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare zeroext i16 @swapb_ushort(i16 noundef zeroext) #1
declare i32 @my_snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpttb0l3bz.c'
source_filename = "/tmp/tmpttb0l3bz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c%c%c%c\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tap_writepulse(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%7 = load i64, ptr %5, align 8
%8 = sdiv i64 %7, 8
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
br label %12
11: ; preds = %2
br label %12
12: ; preds = %11, %10
%13 = phi i64 [ %8, %10 ], [ 1, %11 ]
%14 = trunc i64 %13 to i32
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp sgt i32 %15, 255
br i1 %16, label %17, label %28
17: ; preds = %12
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %6, align 4
%20 = and i32 %19, 255
%21 = load i32, ptr %6, align 4
%22 = ashr i32 %21, 8
%23 = and i32 %22, 255
%24 = load i32, ptr %6, align 4
%25 = ashr i32 %24, 16
%26 = and i32 %25, 255
%27 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %18, ptr noundef @.str, i32 noundef 0, i32 noundef %20, i32 noundef %23, i32 noundef %26)
store i32 4, ptr %3, align 4
br label %33
28: ; preds = %12
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %6, align 4
%31 = and i32 %30, 255
%32 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %29, ptr noundef @.str.1, i32 noundef %31)
store i32 1, ptr %3, align 4
br label %33
33: ; preds = %28, %17
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @fprintf(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/tmpttb0l3bz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c%c%c%c\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tap_writepulse(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%7 = load i64, ptr %5, align 8
%8 = sdiv i64 %7, 8
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
br label %12
11: ; preds = %2
br label %12
12: ; preds = %11, %10
%13 = phi i64 [ %8, %10 ], [ 1, %11 ]
%14 = trunc i64 %13 to i32
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp sgt i32 %15, 255
br i1 %16, label %17, label %28
17: ; preds = %12
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %6, align 4
%20 = and i32 %19, 255
%21 = load i32, ptr %6, align 4
%22 = ashr i32 %21, 8
%23 = and i32 %22, 255
%24 = load i32, ptr %6, align 4
%25 = ashr i32 %24, 16
%26 = and i32 %25, 255
%27 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %18, ptr noundef @.str, i32 noundef 0, i32 noundef %20, i32 noundef %23, i32 noundef %26)
store i32 4, ptr %3, align 4
br label %33
28: ; preds = %12
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %6, align 4
%31 = and i32 %30, 255
%32 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %29, ptr noundef @.str.1, i32 noundef %31)
store i32 1, ptr %3, align 4
br label %33
33: ; preds = %28, %17
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @fprintf(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/tmp6fmrrk1h.c'
source_filename = "/tmp/tmp6fmrrk1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ROMList() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %9, %0
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 8192
br i1 %4, label %5, label %12
5: ; preds = %2
%6 = load i32, ptr %1, align 4
%7 = call i32 @CPUReadMemory(i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
br label %9
9: ; preds = %5
%10 = load i32, ptr %1, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %1, align 4
br label %2, !llvm.loop !6
12: ; preds = %2
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @CPUReadMemory(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/tmp6fmrrk1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ROMList() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp slt i32 %2, 8192
br i1 %3, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %8
%5 = load i32, ptr %1, align 4
%6 = call i32 @CPUReadMemory(i32 noundef %5)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
br label %8
8: ; preds = %4
%9 = load i32, ptr %1, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %1, align 4
%11 = load i32, ptr %1, align 4
%12 = icmp slt i32 %11, 8192
br i1 %12, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %13
13: ; preds = %._crit_edge, %0
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @CPUReadMemory(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/tmp2anqvsde.c'
source_filename = "/tmp/tmp2anqvsde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 3, ptr %1, align 4
store i32 12, ptr %2, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @add(i32 noundef %3, i32 noundef %4)
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @add(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/tmp2anqvsde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 3, ptr %1, align 4
store i32 12, ptr %2, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @add(i32 noundef %3, i32 noundef %4)
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @add(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/tmp0aurjysz.c'
source_filename = "/tmp/tmp0aurjysz.c"
target datalayout = "e-m:e-p270: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/tmp0aurjysz.c"
target datalayout = "e-m:e-p270: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/tmpuryjo1d7.c'
source_filename = "/tmp/tmpuryjo1d7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @stb_smoothstep(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %3, float 3.000000e+00)
%5 = load float, ptr %2, align 4
%6 = load float, ptr %2, align 4
%7 = fmul float %5, %6
%8 = fmul float %4, %7
ret float %8
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuryjo1d7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @stb_smoothstep(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %3, float 3.000000e+00)
%5 = load float, ptr %2, align 4
%6 = load float, ptr %2, align 4
%7 = fmul float %5, %6
%8 = fmul float %4, %7
ret float %8
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4zj20txh.c'
source_filename = "/tmp/tmp4zj20txh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.swp = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @swap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = add nsw i32 %8, 1
%10 = ashr i32 %9, 1
store i32 %10, ptr %4, align 4
br label %11
11: ; preds = %15, %2
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %4, align 4
%14 = icmp ne i32 %12, 0
br i1 %14, label %15, label %29
15: ; preds = %11
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds [2 x i8], ptr %16, i64 0, i64 0
%18 = load i8, ptr %17, align 4
store i8 %18, ptr %5, align 1
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds [2 x i8], ptr %19, i64 0, i64 1
%21 = load i8, ptr %20, align 1
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds [2 x i8], ptr %22, i64 0, i64 0
store i8 %21, ptr %23, align 4
%24 = load i8, ptr %5, align 1
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds [2 x i8], ptr %25, i64 0, i64 1
store i8 %24, ptr %26, align 1
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds %union.swp, ptr %27, i32 1
store ptr %28, ptr %6, align 8
br label %11, !llvm.loop !6
29: ; preds = %11
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4zj20txh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.swp = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @swap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = add nsw i32 %8, 1
%10 = ashr i32 %9, 1
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %4, align 4
%13 = icmp ne i32 %11, 0
br i1 %13, label %.lr.ph, label %31
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %14
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds [2 x i8], ptr %15, i64 0, i64 0
%17 = load i8, ptr %16, align 4
store i8 %17, ptr %5, align 1
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds [2 x i8], ptr %18, i64 0, i64 1
%20 = load i8, ptr %19, align 1
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds [2 x i8], ptr %21, i64 0, i64 0
store i8 %20, ptr %22, align 4
%23 = load i8, ptr %5, align 1
%24 = load ptr, ptr %6, align 8
%25 = getelementptr inbounds [2 x i8], ptr %24, i64 0, i64 1
store i8 %23, ptr %25, align 1
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds %union.swp, ptr %26, i32 1
store ptr %27, ptr %6, align 8
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %4, align 4
%30 = icmp ne i32 %28, 0
br i1 %30, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %31
31: ; preds = %._crit_edge, %2
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsb_vczcg.c'
source_filename = "/tmp/tmpsb_vczcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EVP_aes_256_ocb() #0 {
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsb_vczcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EVP_aes_256_ocb() #0 {
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0wijjqwy.c'
source_filename = "/tmp/tmp0wijjqwy.c"
target datalayout = "e-m:e-p270: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/tmp0wijjqwy.c"
target datalayout = "e-m:e-p270: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/tmpjd5oi4wk.c'
source_filename = "/tmp/tmpjd5oi4wk.c"
target datalayout = "e-m:e-p270: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/tmpjd5oi4wk.c"
target datalayout = "e-m:e-p270: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/tmpvhxsmfv3.c'
source_filename = "/tmp/tmpvhxsmfv3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@REG_EXTENDED = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvhxsmfv3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@REG_EXTENDED = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp6wnze_m.c'
source_filename = "/tmp/tmpp6wnze_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @terminal_writeint(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [20 x i8], align 16
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @itoa(i32 noundef %4, ptr noundef %5)
%7 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @terminal_writestring(ptr noundef %7)
ret void
}
declare i32 @itoa(i32 noundef, ptr noundef) #1
declare i32 @terminal_writestring(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp6wnze_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @terminal_writeint(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [20 x i8], align 16
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @itoa(i32 noundef %4, ptr noundef %5)
%7 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @terminal_writestring(ptr noundef %7)
ret void
}
declare i32 @itoa(i32 noundef, ptr noundef) #1
declare i32 @terminal_writestring(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_01xo8wn.c'
source_filename = "/tmp/tmp_01xo8wn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_01xo8wn.c"
target datalayout = "e-m:e-p270: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/tmpa4r9qekg.c'
source_filename = "/tmp/tmpa4r9qekg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @createSocket() #0 {
%1 = load i32, ptr @AF_INET, align 4
%2 = load i32, ptr @SOCK_STREAM, align 4
%3 = call i32 @socket(i32 noundef %1, i32 noundef %2, i32 noundef 0)
ret i32 %3
}
declare i32 @socket(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/tmpa4r9qekg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @createSocket() #0 {
%1 = load i32, ptr @AF_INET, align 4
%2 = load i32, ptr @SOCK_STREAM, align 4
%3 = call i32 @socket(i32 noundef %1, i32 noundef %2, i32 noundef 0)
ret i32 %3
}
declare i32 @socket(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/tmpurv56cj8.c'
source_filename = "/tmp/tmpurv56cj8.c"
target datalayout = "e-m:e-p270: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/tmpurv56cj8.c"
target datalayout = "e-m:e-p270: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/tmp9rzh6hc2.c'
source_filename = "/tmp/tmp9rzh6hc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"newmast.dat\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"file newmast.dat non trovato\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"%-10s%-25s%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"Account\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"Nome\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"Bilancio\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"EOF per uscire\0A? \00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"%d%24s%lf\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [13 x i8] c"%d %s %.2lf\0A\00", align 1
@.str.11 = private unnamed_addr constant [17 x i8] c"%-10d%-25s%.2lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca [25 x i8], align 16
%4 = alloca double, align 8
%5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %5, ptr %1, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 @puts(ptr noundef @.str.2)
br label %32
9: ; preds = %0
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef @.str.6)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8)
%12 = getelementptr inbounds [25 x i8], ptr %3, i64 0, i64 0
%13 = call i32 @scanf(ptr noundef @.str.9, ptr noundef %2, ptr noundef %12, ptr noundef %4)
br label %14
14: ; preds = %19, %9
%15 = load i32, ptr @stdin, align 4
%16 = call i32 @feof(i32 noundef %15)
%17 = icmp ne i32 %16, 0
%18 = xor i1 %17, true
br i1 %18, label %19, label %31
19: ; preds = %14
%20 = load ptr, ptr %1, align 8
%21 = load i32, ptr %2, align 4
%22 = getelementptr inbounds [25 x i8], ptr %3, i64 0, i64 0
%23 = load double, ptr %4, align 8
%24 = call i32 @fprintf(ptr noundef %20, ptr noundef @.str.10, i32 noundef %21, ptr noundef %22, double noundef %23)
%25 = load i32, ptr %2, align 4
%26 = getelementptr inbounds [25 x i8], ptr %3, i64 0, i64 0
%27 = load double, ptr %4, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %25, ptr noundef %26, double noundef %27)
%29 = getelementptr inbounds [25 x i8], ptr %3, i64 0, i64 0
%30 = call i32 @scanf(ptr noundef @.str.9, ptr noundef %2, ptr noundef %29, ptr noundef %4)
br label %14, !llvm.loop !6
31: ; preds = %14
br label %32
32: ; preds = %31, %7
%33 = load ptr, ptr %1, align 8
%34 = call i32 @fclose(ptr noundef %33)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @feof(i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, double noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9rzh6hc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"newmast.dat\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"file newmast.dat non trovato\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"%-10s%-25s%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"Account\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"Nome\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"Bilancio\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"EOF per uscire\0A? \00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"%d%24s%lf\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [13 x i8] c"%d %s %.2lf\0A\00", align 1
@.str.11 = private unnamed_addr constant [17 x i8] c"%-10d%-25s%.2lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca [25 x i8], align 16
%4 = alloca double, align 8
%5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %5, ptr %1, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 @puts(ptr noundef @.str.2)
br label %35
9: ; preds = %0
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef @.str.6)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8)
%12 = getelementptr inbounds [25 x i8], ptr %3, i64 0, i64 0
%13 = call i32 @scanf(ptr noundef @.str.9, ptr noundef %2, ptr noundef %12, ptr noundef %4)
%14 = load i32, ptr @stdin, align 4
%15 = call i32 @feof(i32 noundef %14)
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
br i1 %17, label %.lr.ph, label %34
.lr.ph: ; preds = %9
br label %18
18: ; preds = %.lr.ph, %18
%19 = load ptr, ptr %1, align 8
%20 = load i32, ptr %2, align 4
%21 = getelementptr inbounds [25 x i8], ptr %3, i64 0, i64 0
%22 = load double, ptr %4, align 8
%23 = call i32 @fprintf(ptr noundef %19, ptr noundef @.str.10, i32 noundef %20, ptr noundef %21, double noundef %22)
%24 = load i32, ptr %2, align 4
%25 = getelementptr inbounds [25 x i8], ptr %3, i64 0, i64 0
%26 = load double, ptr %4, align 8
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %24, ptr noundef %25, double noundef %26)
%28 = getelementptr inbounds [25 x i8], ptr %3, i64 0, i64 0
%29 = call i32 @scanf(ptr noundef @.str.9, ptr noundef %2, ptr noundef %28, ptr noundef %4)
%30 = load i32, ptr @stdin, align 4
%31 = call i32 @feof(i32 noundef %30)
%32 = icmp ne i32 %31, 0
%33 = xor i1 %32, true
br i1 %33, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %34
34: ; preds = %._crit_edge, %9
br label %35
35: ; preds = %34, %7
%36 = load ptr, ptr %1, align 8
%37 = call i32 @fclose(ptr noundef %36)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @feof(i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, double noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_voyj7rq.c'
source_filename = "/tmp/tmp_voyj7rq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inverse_number(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = mul nsw i32 -1, %11
store i32 %12, ptr %5, align 4
br label %15
13: ; preds = %1
%14 = load i32, ptr %3, align 4
store i32 %14, ptr %5, align 4
br label %15
15: ; preds = %13, %10
%16 = load i32, ptr %5, align 4
%17 = call i32 @log10(i32 noundef %16)
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load i32, ptr %5, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %33, label %23
23: ; preds = %20, %15
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = load i32, ptr %5, align 4
%28 = mul nsw i32 -1, %27
br label %31
29: ; preds = %23
%30 = load i32, ptr %5, align 4
br label %31
31: ; preds = %29, %26
%32 = phi i32 [ %28, %26 ], [ %30, %29 ]
store i32 %32, ptr %2, align 4
br label %64
33: ; preds = %20
store i32 0, ptr %7, align 4
br label %34
34: ; preds = %51, %33
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp sle i32 %35, %36
br i1 %37, label %38, label %54
38: ; preds = %34
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %7, align 4
%42 = sub nsw i32 %40, %41
%43 = call i32 @pow(i32 noundef 10, i32 noundef %42)
%44 = sdiv i32 %39, %43
%45 = srem i32 %44, 10
%46 = load i32, ptr %7, align 4
%47 = call i32 @pow(i32 noundef 10, i32 noundef %46)
%48 = mul nsw i32 %45, %47
%49 = load i32, ptr %4, align 4
%50 = add nsw i32 %49, %48
store i32 %50, ptr %4, align 4
br label %51
51: ; preds = %38
%52 = load i32, ptr %7, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %7, align 4
br label %34, !llvm.loop !6
54: ; preds = %34
%55 = load i32, ptr %3, align 4
%56 = icmp slt i32 %55, 0
br i1 %56, label %57, label %60
57: ; preds = %54
%58 = load i32, ptr %4, align 4
%59 = mul nsw i32 -1, %58
br label %62
60: ; preds = %54
%61 = load i32, ptr %4, align 4
br label %62
62: ; preds = %60, %57
%63 = phi i32 [ %59, %57 ], [ %61, %60 ]
store i32 %63, ptr %2, align 4
br label %64
64: ; preds = %62, %31
%65 = load i32, ptr %2, align 4
ret i32 %65
}
declare i32 @log10(i32 noundef) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_voyj7rq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inverse_number(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = mul nsw i32 -1, %11
store i32 %12, ptr %5, align 4
br label %15
13: ; preds = %1
%14 = load i32, ptr %3, align 4
store i32 %14, ptr %5, align 4
br label %15
15: ; preds = %13, %10
%16 = load i32, ptr %5, align 4
%17 = call i32 @log10(i32 noundef %16)
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load i32, ptr %5, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %33, label %23
23: ; preds = %20, %15
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = load i32, ptr %5, align 4
%28 = mul nsw i32 -1, %27
br label %31
29: ; preds = %23
%30 = load i32, ptr %5, align 4
br label %31
31: ; preds = %29, %26
%32 = phi i32 [ %28, %26 ], [ %30, %29 ]
store i32 %32, ptr %2, align 4
br label %66
33: ; preds = %20
store i32 0, ptr %7, align 4
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %6, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %.lr.ph, label %56
.lr.ph: ; preds = %33
br label %37
37: ; preds = %.lr.ph, %50
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %7, align 4
%41 = sub nsw i32 %39, %40
%42 = call i32 @pow(i32 noundef 10, i32 noundef %41)
%43 = sdiv i32 %38, %42
%44 = srem i32 %43, 10
%45 = load i32, ptr %7, align 4
%46 = call i32 @pow(i32 noundef 10, i32 noundef %45)
%47 = mul nsw i32 %44, %46
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, %47
store i32 %49, ptr %4, align 4
br label %50
50: ; preds = %37
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %6, align 4
%55 = icmp sle i32 %53, %54
br i1 %55, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %56
56: ; preds = %._crit_edge, %33
%57 = load i32, ptr %3, align 4
%58 = icmp slt i32 %57, 0
br i1 %58, label %59, label %62
59: ; preds = %56
%60 = load i32, ptr %4, align 4
%61 = mul nsw i32 -1, %60
br label %64
62: ; preds = %56
%63 = load i32, ptr %4, align 4
br label %64
64: ; preds = %62, %59
%65 = phi i32 [ %61, %59 ], [ %63, %62 ]
store i32 %65, ptr %2, align 4
br label %66
66: ; preds = %64, %31
%67 = load i32, ptr %2, align 4
ret i32 %67
}
declare i32 @log10(i32 noundef) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwiw4_jr4.c'
source_filename = "/tmp/tmpwiw4_jr4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_debug_hex32(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 @__console_tx_hex32(i32 noundef %3)
ret void
}
declare i32 @__console_tx_hex32(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/tmpwiw4_jr4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_debug_hex32(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 @__console_tx_hex32(i32 noundef %3)
ret void
}
declare i32 @__console_tx_hex32(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/tmpwyw6q4j0.c'
source_filename = "/tmp/tmpwyw6q4j0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsPrivateAddress(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = ashr i32 %8, 24
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = ashr i32 %10, 16
%12 = and i32 %11, 255
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = ashr i32 %13, 8
%15 = and i32 %14, 255
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %3, align 4
%17 = and i32 %16, 255
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp eq i32 %18, 10
br i1 %19, label %20, label %21
20: ; preds = %1
store i32 1, ptr %2, align 4
br label %39
21: ; preds = %1
%22 = load i32, ptr %4, align 4
%23 = icmp eq i32 %22, 172
br i1 %23, label %24, label %31
24: ; preds = %21
%25 = load i32, ptr %5, align 4
%26 = icmp sge i32 %25, 16
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load i32, ptr %5, align 4
%29 = icmp sle i32 %28, 31
br i1 %29, label %30, label %31
30: ; preds = %27
store i32 1, ptr %2, align 4
br label %39
31: ; preds = %27, %24, %21
%32 = load i32, ptr %4, align 4
%33 = icmp eq i32 %32, 192
br i1 %33, label %34, label %38
34: ; preds = %31
%35 = load i32, ptr %5, align 4
%36 = icmp eq i32 %35, 168
br i1 %36, label %37, label %38
37: ; preds = %34
store i32 1, ptr %2, align 4
br label %39
38: ; preds = %34, %31
store i32 0, ptr %2, align 4
br label %39
39: ; preds = %38, %37, %30, %20
%40 = load i32, ptr %2, align 4
ret i32 %40
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwyw6q4j0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsPrivateAddress(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = ashr i32 %8, 24
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = ashr i32 %10, 16
%12 = and i32 %11, 255
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = ashr i32 %13, 8
%15 = and i32 %14, 255
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %3, align 4
%17 = and i32 %16, 255
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp eq i32 %18, 10
br i1 %19, label %20, label %21
20: ; preds = %1
store i32 1, ptr %2, align 4
br label %39
21: ; preds = %1
%22 = load i32, ptr %4, align 4
%23 = icmp eq i32 %22, 172
br i1 %23, label %24, label %31
24: ; preds = %21
%25 = load i32, ptr %5, align 4
%26 = icmp sge i32 %25, 16
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load i32, ptr %5, align 4
%29 = icmp sle i32 %28, 31
br i1 %29, label %30, label %31
30: ; preds = %27
store i32 1, ptr %2, align 4
br label %39
31: ; preds = %27, %24, %21
%32 = load i32, ptr %4, align 4
%33 = icmp eq i32 %32, 192
br i1 %33, label %34, label %38
34: ; preds = %31
%35 = load i32, ptr %5, align 4
%36 = icmp eq i32 %35, 168
br i1 %36, label %37, label %38
37: ; preds = %34
store i32 1, ptr %2, align 4
br label %39
38: ; preds = %34, %31
store i32 0, ptr %2, align 4
br label %39
39: ; preds = %38, %37, %30, %20
%40 = load i32, ptr %2, align 4
ret i32 %40
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6hr58dzz.c'
source_filename = "/tmp/tmp6hr58dzz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [68 x i8] c"dd if=/dev/zero bs=1M count=4 | tr \22\\000\22 \22\\377\22 > esp32flash.bin\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"build/bootloader/bootloader.bin\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"esp32flash.bin\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"build/partitions_singleapp.bin\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"build/app-template.bin\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"cp esp32flash.bin ~/qemu_esp32\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 @system(ptr noundef @.str)
%7 = call i32 @merge_flash(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 4096, i32 noundef 0)
%8 = call i32 @merge_flash(ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 32768, i32 noundef 0)
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i32 @merge_flash(ptr noundef %14, ptr noundef @.str.2, i32 noundef 65536, i32 noundef 0)
br label %18
16: ; preds = %2
%17 = call i32 @merge_flash(ptr noundef @.str.4, ptr noundef @.str.2, i32 noundef 65536, i32 noundef 0)
br label %18
18: ; preds = %16, %11
%19 = call i32 @system(ptr noundef @.str.5)
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @system(ptr noundef) #1
declare i32 @merge_flash(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6hr58dzz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [68 x i8] c"dd if=/dev/zero bs=1M count=4 | tr \22\\000\22 \22\\377\22 > esp32flash.bin\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"build/bootloader/bootloader.bin\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"esp32flash.bin\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"build/partitions_singleapp.bin\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"build/app-template.bin\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"cp esp32flash.bin ~/qemu_esp32\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 @system(ptr noundef @.str)
%7 = call i32 @merge_flash(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 4096, i32 noundef 0)
%8 = call i32 @merge_flash(ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 32768, i32 noundef 0)
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i32 @merge_flash(ptr noundef %14, ptr noundef @.str.2, i32 noundef 65536, i32 noundef 0)
br label %18
16: ; preds = %2
%17 = call i32 @merge_flash(ptr noundef @.str.4, ptr noundef @.str.2, i32 noundef 65536, i32 noundef 0)
br label %18
18: ; preds = %16, %11
%19 = call i32 @system(ptr noundef @.str.5)
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @system(ptr noundef) #1
declare i32 @merge_flash(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_0zcz72g.c'
source_filename = "/tmp/tmp_0zcz72g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
@O_NOCTTY = dso_local global i32 0, align 4
@O_SYNC = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"error %d opening %s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@B115200 = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0D\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"Corrupted serial message? \22%s\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cubeInfo(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [16 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr @O_RDWR, align 4
%14 = load i32, ptr @O_NOCTTY, align 4
%15 = or i32 %13, %14
%16 = load i32, ptr @O_SYNC, align 4
%17 = or i32 %15, %16
%18 = call i32 @open(ptr noundef %12, i32 noundef %17)
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %2
%22 = load i32, ptr @stderr, align 4
%23 = load i32, ptr @errno, align 4
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr @errno, align 4
%26 = call ptr @strerror(i32 noundef %25)
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str, i32 noundef %23, ptr noundef %24, ptr noundef %26)
%28 = call i32 @exit(i32 noundef 1) #3
unreachable
29: ; preds = %2
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr @B115200, align 4
%32 = call i32 @set_interface_attribs(i32 noundef %30, i32 noundef %31, i32 noundef 0)
%33 = load i32, ptr %5, align 4
%34 = call i32 @set_blocking(i32 noundef %33, i32 noundef 0)
%35 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
%36 = load i32, ptr %4, align 4
%37 = call i32 @sprintf(ptr noundef %35, ptr noundef @.str.1, i32 noundef %36)
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %5, align 4
%39 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
%40 = load i32, ptr %7, align 4
%41 = call i32 @write(i32 noundef %38, ptr noundef %39, i32 noundef %40)
%42 = load i32, ptr %5, align 4
%43 = call i32 @write(i32 noundef %42, ptr noundef @.str.2, i32 noundef 1)
%44 = call ptr @calloc(i32 noundef 15, i32 noundef 1)
store ptr %44, ptr %9, align 8
store i32 0, ptr %10, align 4
br label %45
45: ; preds = %81, %29
%46 = load i32, ptr %5, align 4
%47 = call i32 @read(i32 noundef %46, ptr noundef %8, i32 noundef 1)
store i32 %47, ptr %11, align 4
%48 = load i8, ptr %8, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 10
br i1 %50, label %55, label %51
51: ; preds = %45
%52 = load i8, ptr %8, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 13
br i1 %54, label %55, label %56
55: ; preds = %51, %45
br label %82
56: ; preds = %51
%57 = load i32, ptr %11, align 4
%58 = icmp sgt i32 %57, 0
br i1 %58, label %59, label %81
59: ; preds = %56
%60 = load i32, ptr %10, align 4
%61 = icmp slt i32 %60, 15
br i1 %61, label %62, label %68
62: ; preds = %59
%63 = load i8, ptr %8, align 1
%64 = load ptr, ptr %9, align 8
%65 = load i32, ptr %10, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
store i8 %63, ptr %67, align 1
br label %78
68: ; preds = %59
%69 = load i32, ptr %10, align 4
%70 = sext i32 %69 to i64
%71 = icmp uge i64 %70, 9
br i1 %71, label %72, label %77
72: ; preds = %68
%73 = load i32, ptr @stderr, align 4
%74 = load ptr, ptr %9, align 8
%75 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %73, ptr noundef @.str.3, ptr noundef %74)
%76 = call i32 @exit(i32 noundef 1) #3
unreachable
77: ; preds = %68
br label %78
78: ; preds = %77, %62
%79 = load i32, ptr %10, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %10, align 4
br label %81
81: ; preds = %78, %56
br label %45
82: ; preds = %55
%83 = load i32, ptr %5, align 4
%84 = call i32 @close(i32 noundef %83)
%85 = load ptr, ptr %9, align 8
ret ptr %85
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @set_interface_attribs(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @set_blocking(i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(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/tmp_0zcz72g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
@O_NOCTTY = dso_local global i32 0, align 4
@O_SYNC = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"error %d opening %s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@B115200 = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0D\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"Corrupted serial message? \22%s\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cubeInfo(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [16 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr @O_RDWR, align 4
%14 = load i32, ptr @O_NOCTTY, align 4
%15 = or i32 %13, %14
%16 = load i32, ptr @O_SYNC, align 4
%17 = or i32 %15, %16
%18 = call i32 @open(ptr noundef %12, i32 noundef %17)
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %2
%22 = load i32, ptr @stderr, align 4
%23 = load i32, ptr @errno, align 4
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr @errno, align 4
%26 = call ptr @strerror(i32 noundef %25)
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str, i32 noundef %23, ptr noundef %24, ptr noundef %26)
%28 = call i32 @exit(i32 noundef 1) #3
unreachable
29: ; preds = %2
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr @B115200, align 4
%32 = call i32 @set_interface_attribs(i32 noundef %30, i32 noundef %31, i32 noundef 0)
%33 = load i32, ptr %5, align 4
%34 = call i32 @set_blocking(i32 noundef %33, i32 noundef 0)
%35 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
%36 = load i32, ptr %4, align 4
%37 = call i32 @sprintf(ptr noundef %35, ptr noundef @.str.1, i32 noundef %36)
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %5, align 4
%39 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
%40 = load i32, ptr %7, align 4
%41 = call i32 @write(i32 noundef %38, ptr noundef %39, i32 noundef %40)
%42 = load i32, ptr %5, align 4
%43 = call i32 @write(i32 noundef %42, ptr noundef @.str.2, i32 noundef 1)
%44 = call ptr @calloc(i32 noundef 15, i32 noundef 1)
store ptr %44, ptr %9, align 8
store i32 0, ptr %10, align 4
%45 = load i32, ptr %5, align 4
%46 = call i32 @read(i32 noundef %45, ptr noundef %8, i32 noundef 1)
store i32 %46, ptr %11, align 4
%47 = load i8, ptr %8, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 10
br i1 %49, label %54, label %.lr.ph
.lr.ph: ; preds = %29
br label %50
50: ; preds = %.lr.ph, %80
%51 = load i8, ptr %8, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 13
br i1 %53, label %._crit_edge, label %55
._crit_edge: ; preds = %50
br label %54
._crit_edge1: ; preds = %80
br label %54
54: ; preds = %._crit_edge1, %._crit_edge, %29
br label %86
55: ; preds = %50
%56 = load i32, ptr %11, align 4
%57 = icmp sgt i32 %56, 0
br i1 %57, label %58, label %80
58: ; preds = %55
%59 = load i32, ptr %10, align 4
%60 = icmp slt i32 %59, 15
br i1 %60, label %61, label %67
61: ; preds = %58
%62 = load i8, ptr %8, align 1
%63 = load ptr, ptr %9, align 8
%64 = load i32, ptr %10, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
store i8 %62, ptr %66, align 1
br label %77
67: ; preds = %58
%68 = load i32, ptr %10, align 4
%69 = sext i32 %68 to i64
%70 = icmp uge i64 %69, 9
br i1 %70, label %71, label %76
71: ; preds = %67
%72 = load i32, ptr @stderr, align 4
%73 = load ptr, ptr %9, align 8
%74 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %72, ptr noundef @.str.3, ptr noundef %73)
%75 = call i32 @exit(i32 noundef 1) #3
unreachable
76: ; preds = %67
br label %77
77: ; preds = %76, %61
%78 = load i32, ptr %10, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %10, align 4
br label %80
80: ; preds = %77, %55
%81 = load i32, ptr %5, align 4
%82 = call i32 @read(i32 noundef %81, ptr noundef %8, i32 noundef 1)
store i32 %82, ptr %11, align 4
%83 = load i8, ptr %8, align 1
%84 = sext i8 %83 to i32
%85 = icmp eq i32 %84, 10
br i1 %85, label %._crit_edge1, label %50
86: ; preds = %54
%87 = load i32, ptr %5, align 4
%88 = call i32 @close(i32 noundef %87)
%89 = load ptr, ptr %9, align 8
ret ptr %89
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @set_interface_attribs(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @set_blocking(i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(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/tmpc_9fav4x.c'
source_filename = "/tmp/tmpc_9fav4x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [55 x i8] c"Usage: mkbl1 <source file> <destination file> <size> \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"source file open error\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [25 x i8] c"Usage: unsupported size\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"source file read error\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.6 = private unnamed_addr constant [29 x i8] c"destination file open error\0A\00", align 1
@.str.7 = private unnamed_addr constant [30 x i8] c"destination file write error\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 ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i64, align 8
%14 = 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
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 4
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %266
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 3
%22 = load ptr, ptr %21, align 8
%23 = call i32 @atoi(ptr noundef %22)
store i32 %23, ptr %10, align 4
%24 = load i32, ptr %10, align 4
%25 = call i64 @malloc(i32 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %7, align 8
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %10, align 4
%29 = call i32 @memset(ptr noundef %27, i32 noundef 0, i32 noundef %28)
%30 = load i32, ptr %10, align 4
%31 = call i64 @malloc(i32 noundef %30)
%32 = inttoptr i64 %31 to ptr
store ptr %32, ptr %8, align 8
%33 = load ptr, ptr %8, align 8
%34 = load i32, ptr %10, align 4
%35 = call i32 @memset(ptr noundef %33, i32 noundef 0, i32 noundef %34)
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8
%39 = call ptr @fopen(ptr noundef %38, ptr noundef @.str.1)
store ptr %39, ptr %6, align 8
%40 = load ptr, ptr %6, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %46
42: ; preds = %19
%43 = call i32 @printf(ptr noundef @.str.2)
%44 = load ptr, ptr %7, align 8
%45 = call i32 @free(ptr noundef %44)
store i32 -1, ptr %3, align 4
br label %266
46: ; preds = %19
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr @SEEK_END, align 4
%49 = call i32 @fseek(ptr noundef %47, i64 noundef 0, i32 noundef %48)
%50 = load ptr, ptr %6, align 8
%51 = call i32 @ftell(ptr noundef %50)
store i32 %51, ptr %12, align 4
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr @SEEK_SET, align 4
%54 = call i32 @fseek(ptr noundef %52, i64 noundef 0, i32 noundef %53)
%55 = load i32, ptr %10, align 4
%56 = load i32, ptr %12, align 4
%57 = icmp sgt i32 %55, %56
br i1 %57, label %58, label %64
58: ; preds = %46
%59 = call i32 @printf(ptr noundef @.str.3)
%60 = load ptr, ptr %7, align 8
%61 = call i32 @free(ptr noundef %60)
%62 = load ptr, ptr %6, align 8
%63 = call i32 @fclose(ptr noundef %62)
store i32 -1, ptr %3, align 4
br label %266
64: ; preds = %46
%65 = load ptr, ptr %7, align 8
%66 = load i32, ptr %10, align 4
%67 = load ptr, ptr %6, align 8
%68 = call i32 @fread(ptr noundef %65, i32 noundef 1, i32 noundef %66, ptr noundef %67)
store i32 %68, ptr %11, align 4
%69 = load i32, ptr %11, align 4
%70 = load i32, ptr %10, align 4
%71 = icmp ne i32 %69, %70
br i1 %71, label %72, label %78
72: ; preds = %64
%73 = call i32 @printf(ptr noundef @.str.4)
%74 = load ptr, ptr %7, align 8
%75 = call i32 @free(ptr noundef %74)
%76 = load ptr, ptr %6, align 8
%77 = call i32 @fclose(ptr noundef %76)
store i32 -1, ptr %3, align 4
br label %266
78: ; preds = %64
%79 = load ptr, ptr %6, align 8
%80 = call i32 @fclose(ptr noundef %79)
store i32 0, ptr %14, align 4
store i64 0, ptr %13, align 8
br label %81
81: ; preds = %104, %78
%82 = load i32, ptr %14, align 4
%83 = icmp slt i32 %82, 16368
br i1 %83, label %84, label %107
84: ; preds = %81
%85 = load ptr, ptr %7, align 8
%86 = load i32, ptr %14, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %85, i64 %87
%89 = load i8, ptr %88, align 1
%90 = load ptr, ptr %8, align 8
%91 = load i32, ptr %14, align 4
%92 = add nsw i32 %91, 16
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, ptr %90, i64 %93
store i8 %89, ptr %94, align 1
%95 = load ptr, ptr %8, align 8
%96 = load i32, ptr %14, align 4
%97 = add nsw i32 %96, 16
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %95, i64 %98
%100 = load i8, ptr %99, align 1
%101 = zext i8 %100 to i64
%102 = load i64, ptr %13, align 8
%103 = add i64 %102, %101
store i64 %103, ptr %13, align 8
br label %104
104: ; preds = %84
%105 = load i32, ptr %14, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %14, align 4
br label %81, !llvm.loop !6
107: ; preds = %81
%108 = load ptr, ptr %8, align 8
%109 = getelementptr inbounds i8, ptr %108, i64 0
store i64 31, ptr %109, align 8
%110 = load i64, ptr %13, align 8
%111 = load ptr, ptr %8, align 8
%112 = getelementptr inbounds i8, ptr %111, i64 4
store i64 %110, ptr %112, align 8
%113 = load ptr, ptr %8, align 8
%114 = getelementptr inbounds i8, ptr %113, i64 0
%115 = load i8, ptr %114, align 1
%116 = zext i8 %115 to i32
%117 = xor i32 %116, 83
%118 = trunc i32 %117 to i8
store i8 %118, ptr %114, align 1
%119 = load ptr, ptr %8, align 8
%120 = getelementptr inbounds i8, ptr %119, i64 1
%121 = load i8, ptr %120, align 1
%122 = zext i8 %121 to i32
%123 = xor i32 %122, 53
%124 = trunc i32 %123 to i8
store i8 %124, ptr %120, align 1
%125 = load ptr, ptr %8, align 8
%126 = getelementptr inbounds i8, ptr %125, i64 2
%127 = load i8, ptr %126, align 1
%128 = zext i8 %127 to i32
%129 = xor i32 %128, 80
%130 = trunc i32 %129 to i8
store i8 %130, ptr %126, align 1
%131 = load ptr, ptr %8, align 8
%132 = getelementptr inbounds i8, ptr %131, i64 3
%133 = load i8, ptr %132, align 1
%134 = zext i8 %133 to i32
%135 = xor i32 %134, 67
%136 = trunc i32 %135 to i8
store i8 %136, ptr %132, align 1
%137 = load ptr, ptr %8, align 8
%138 = getelementptr inbounds i8, ptr %137, i64 4
%139 = load i8, ptr %138, align 1
%140 = zext i8 %139 to i32
%141 = xor i32 %140, 50
%142 = trunc i32 %141 to i8
store i8 %142, ptr %138, align 1
%143 = load ptr, ptr %8, align 8
%144 = getelementptr inbounds i8, ptr %143, i64 5
%145 = load i8, ptr %144, align 1
%146 = zext i8 %145 to i32
%147 = xor i32 %146, 49
%148 = trunc i32 %147 to i8
store i8 %148, ptr %144, align 1
%149 = load ptr, ptr %8, align 8
%150 = getelementptr inbounds i8, ptr %149, i64 6
%151 = load i8, ptr %150, align 1
%152 = zext i8 %151 to i32
%153 = xor i32 %152, 48
%154 = trunc i32 %153 to i8
store i8 %154, ptr %150, align 1
%155 = load ptr, ptr %8, align 8
%156 = getelementptr inbounds i8, ptr %155, i64 7
%157 = load i8, ptr %156, align 1
%158 = zext i8 %157 to i32
%159 = xor i32 %158, 32
%160 = trunc i32 %159 to i8
store i8 %160, ptr %156, align 1
%161 = load ptr, ptr %8, align 8
%162 = getelementptr inbounds i8, ptr %161, i64 8
%163 = load i8, ptr %162, align 1
%164 = zext i8 %163 to i32
%165 = xor i32 %164, 72
%166 = trunc i32 %165 to i8
store i8 %166, ptr %162, align 1
%167 = load ptr, ptr %8, align 8
%168 = getelementptr inbounds i8, ptr %167, i64 9
%169 = load i8, ptr %168, align 1
%170 = zext i8 %169 to i32
%171 = xor i32 %170, 69
%172 = trunc i32 %171 to i8
store i8 %172, ptr %168, align 1
%173 = load ptr, ptr %8, align 8
%174 = getelementptr inbounds i8, ptr %173, i64 10
%175 = load i8, ptr %174, align 1
%176 = zext i8 %175 to i32
%177 = xor i32 %176, 65
%178 = trunc i32 %177 to i8
store i8 %178, ptr %174, align 1
%179 = load ptr, ptr %8, align 8
%180 = getelementptr inbounds i8, ptr %179, i64 11
%181 = load i8, ptr %180, align 1
%182 = zext i8 %181 to i32
%183 = xor i32 %182, 68
%184 = trunc i32 %183 to i8
store i8 %184, ptr %180, align 1
%185 = load ptr, ptr %8, align 8
%186 = getelementptr inbounds i8, ptr %185, i64 12
%187 = load i8, ptr %186, align 1
%188 = zext i8 %187 to i32
%189 = xor i32 %188, 69
%190 = trunc i32 %189 to i8
store i8 %190, ptr %186, align 1
%191 = load ptr, ptr %8, align 8
%192 = getelementptr inbounds i8, ptr %191, i64 13
%193 = load i8, ptr %192, align 1
%194 = zext i8 %193 to i32
%195 = xor i32 %194, 82
%196 = trunc i32 %195 to i8
store i8 %196, ptr %192, align 1
%197 = load ptr, ptr %8, align 8
%198 = getelementptr inbounds i8, ptr %197, i64 14
%199 = load i8, ptr %198, align 1
%200 = zext i8 %199 to i32
%201 = xor i32 %200, 32
%202 = trunc i32 %201 to i8
store i8 %202, ptr %198, align 1
%203 = load ptr, ptr %8, align 8
%204 = getelementptr inbounds i8, ptr %203, i64 15
%205 = load i8, ptr %204, align 1
%206 = zext i8 %205 to i32
%207 = xor i32 %206, 32
%208 = trunc i32 %207 to i8
store i8 %208, ptr %204, align 1
store i32 1, ptr %14, align 4
br label %209
209: ; preds = %228, %107
%210 = load i32, ptr %14, align 4
%211 = icmp slt i32 %210, 16
br i1 %211, label %212, label %231
212: ; preds = %209
%213 = load ptr, ptr %8, align 8
%214 = load i32, ptr %14, align 4
%215 = sub nsw i32 %214, 1
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds i8, ptr %213, i64 %216
%218 = load i8, ptr %217, align 1
%219 = zext i8 %218 to i32
%220 = load ptr, ptr %8, align 8
%221 = load i32, ptr %14, align 4
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds i8, ptr %220, i64 %222
%224 = load i8, ptr %223, align 1
%225 = zext i8 %224 to i32
%226 = xor i32 %225, %219
%227 = trunc i32 %226 to i8
store i8 %227, ptr %223, align 1
br label %228
228: ; preds = %212
%229 = load i32, ptr %14, align 4
%230 = add nsw i32 %229, 1
store i32 %230, ptr %14, align 4
br label %209, !llvm.loop !8
231: ; preds = %209
%232 = load ptr, ptr %5, align 8
%233 = getelementptr inbounds ptr, ptr %232, i64 2
%234 = load ptr, ptr %233, align 8
%235 = call ptr @fopen(ptr noundef %234, ptr noundef @.str.5)
store ptr %235, ptr %6, align 8
%236 = load ptr, ptr %6, align 8
%237 = icmp eq ptr %236, null
br i1 %237, label %238, label %242
238: ; preds = %231
%239 = call i32 @printf(ptr noundef @.str.6)
%240 = load ptr, ptr %7, align 8
%241 = call i32 @free(ptr noundef %240)
store i32 -1, ptr %3, align 4
br label %266
242: ; preds = %231
%243 = load ptr, ptr %8, align 8
store ptr %243, ptr %9, align 8
%244 = load ptr, ptr %9, align 8
%245 = load i32, ptr %10, align 4
%246 = load ptr, ptr %6, align 8
%247 = call i32 @fwrite(ptr noundef %244, i32 noundef 1, i32 noundef %245, ptr noundef %246)
store i32 %247, ptr %11, align 4
%248 = load i32, ptr %11, align 4
%249 = load i32, ptr %10, align 4
%250 = icmp ne i32 %248, %249
br i1 %250, label %251, label %259
251: ; preds = %242
%252 = call i32 @printf(ptr noundef @.str.7)
%253 = load ptr, ptr %7, align 8
%254 = call i32 @free(ptr noundef %253)
%255 = load ptr, ptr %8, align 8
%256 = call i32 @free(ptr noundef %255)
%257 = load ptr, ptr %6, align 8
%258 = call i32 @fclose(ptr noundef %257)
store i32 -1, ptr %3, align 4
br label %266
259: ; preds = %242
%260 = load ptr, ptr %7, align 8
%261 = call i32 @free(ptr noundef %260)
%262 = load ptr, ptr %8, align 8
%263 = call i32 @free(ptr noundef %262)
%264 = load ptr, ptr %6, align 8
%265 = call i32 @fclose(ptr noundef %264)
store i32 0, ptr %3, align 4
br label %266
266: ; preds = %259, %251, %238, %72, %58, %42, %17
%267 = load i32, ptr %3, align 4
ret i32 %267
}
declare i32 @printf(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc_9fav4x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [55 x i8] c"Usage: mkbl1 <source file> <destination file> <size> \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"source file open error\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [25 x i8] c"Usage: unsupported size\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"source file read error\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.6 = private unnamed_addr constant [29 x i8] c"destination file open error\0A\00", align 1
@.str.7 = private unnamed_addr constant [30 x i8] c"destination file write error\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 ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i64, align 8
%14 = 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
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 4
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %268
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 3
%22 = load ptr, ptr %21, align 8
%23 = call i32 @atoi(ptr noundef %22)
store i32 %23, ptr %10, align 4
%24 = load i32, ptr %10, align 4
%25 = call i64 @malloc(i32 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %7, align 8
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %10, align 4
%29 = call i32 @memset(ptr noundef %27, i32 noundef 0, i32 noundef %28)
%30 = load i32, ptr %10, align 4
%31 = call i64 @malloc(i32 noundef %30)
%32 = inttoptr i64 %31 to ptr
store ptr %32, ptr %8, align 8
%33 = load ptr, ptr %8, align 8
%34 = load i32, ptr %10, align 4
%35 = call i32 @memset(ptr noundef %33, i32 noundef 0, i32 noundef %34)
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8
%39 = call ptr @fopen(ptr noundef %38, ptr noundef @.str.1)
store ptr %39, ptr %6, align 8
%40 = load ptr, ptr %6, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %46
42: ; preds = %19
%43 = call i32 @printf(ptr noundef @.str.2)
%44 = load ptr, ptr %7, align 8
%45 = call i32 @free(ptr noundef %44)
store i32 -1, ptr %3, align 4
br label %268
46: ; preds = %19
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr @SEEK_END, align 4
%49 = call i32 @fseek(ptr noundef %47, i64 noundef 0, i32 noundef %48)
%50 = load ptr, ptr %6, align 8
%51 = call i32 @ftell(ptr noundef %50)
store i32 %51, ptr %12, align 4
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr @SEEK_SET, align 4
%54 = call i32 @fseek(ptr noundef %52, i64 noundef 0, i32 noundef %53)
%55 = load i32, ptr %10, align 4
%56 = load i32, ptr %12, align 4
%57 = icmp sgt i32 %55, %56
br i1 %57, label %58, label %64
58: ; preds = %46
%59 = call i32 @printf(ptr noundef @.str.3)
%60 = load ptr, ptr %7, align 8
%61 = call i32 @free(ptr noundef %60)
%62 = load ptr, ptr %6, align 8
%63 = call i32 @fclose(ptr noundef %62)
store i32 -1, ptr %3, align 4
br label %268
64: ; preds = %46
%65 = load ptr, ptr %7, align 8
%66 = load i32, ptr %10, align 4
%67 = load ptr, ptr %6, align 8
%68 = call i32 @fread(ptr noundef %65, i32 noundef 1, i32 noundef %66, ptr noundef %67)
store i32 %68, ptr %11, align 4
%69 = load i32, ptr %11, align 4
%70 = load i32, ptr %10, align 4
%71 = icmp ne i32 %69, %70
br i1 %71, label %72, label %78
72: ; preds = %64
%73 = call i32 @printf(ptr noundef @.str.4)
%74 = load ptr, ptr %7, align 8
%75 = call i32 @free(ptr noundef %74)
%76 = load ptr, ptr %6, align 8
%77 = call i32 @fclose(ptr noundef %76)
store i32 -1, ptr %3, align 4
br label %268
78: ; preds = %64
%79 = load ptr, ptr %6, align 8
%80 = call i32 @fclose(ptr noundef %79)
store i32 0, ptr %14, align 4
store i64 0, ptr %13, align 8
%81 = load i32, ptr %14, align 4
%82 = icmp slt i32 %81, 16368
br i1 %82, label %.lr.ph, label %108
.lr.ph: ; preds = %78
br label %83
83: ; preds = %.lr.ph, %103
%84 = load ptr, ptr %7, align 8
%85 = load i32, ptr %14, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
%88 = load i8, ptr %87, align 1
%89 = load ptr, ptr %8, align 8
%90 = load i32, ptr %14, align 4
%91 = add nsw i32 %90, 16
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %89, i64 %92
store i8 %88, ptr %93, align 1
%94 = load ptr, ptr %8, align 8
%95 = load i32, ptr %14, align 4
%96 = add nsw i32 %95, 16
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i8, ptr %94, i64 %97
%99 = load i8, ptr %98, align 1
%100 = zext i8 %99 to i64
%101 = load i64, ptr %13, align 8
%102 = add i64 %101, %100
store i64 %102, ptr %13, align 8
br label %103
103: ; preds = %83
%104 = load i32, ptr %14, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %14, align 4
%106 = load i32, ptr %14, align 4
%107 = icmp slt i32 %106, 16368
br i1 %107, label %83, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %103
br label %108
108: ; preds = %._crit_edge, %78
%109 = load ptr, ptr %8, align 8
%110 = getelementptr inbounds i8, ptr %109, i64 0
store i64 31, ptr %110, align 8
%111 = load i64, ptr %13, align 8
%112 = load ptr, ptr %8, align 8
%113 = getelementptr inbounds i8, ptr %112, i64 4
store i64 %111, ptr %113, align 8
%114 = load ptr, ptr %8, align 8
%115 = getelementptr inbounds i8, ptr %114, i64 0
%116 = load i8, ptr %115, align 1
%117 = zext i8 %116 to i32
%118 = xor i32 %117, 83
%119 = trunc i32 %118 to i8
store i8 %119, ptr %115, align 1
%120 = load ptr, ptr %8, align 8
%121 = getelementptr inbounds i8, ptr %120, i64 1
%122 = load i8, ptr %121, align 1
%123 = zext i8 %122 to i32
%124 = xor i32 %123, 53
%125 = trunc i32 %124 to i8
store i8 %125, ptr %121, align 1
%126 = load ptr, ptr %8, align 8
%127 = getelementptr inbounds i8, ptr %126, i64 2
%128 = load i8, ptr %127, align 1
%129 = zext i8 %128 to i32
%130 = xor i32 %129, 80
%131 = trunc i32 %130 to i8
store i8 %131, ptr %127, align 1
%132 = load ptr, ptr %8, align 8
%133 = getelementptr inbounds i8, ptr %132, i64 3
%134 = load i8, ptr %133, align 1
%135 = zext i8 %134 to i32
%136 = xor i32 %135, 67
%137 = trunc i32 %136 to i8
store i8 %137, ptr %133, align 1
%138 = load ptr, ptr %8, align 8
%139 = getelementptr inbounds i8, ptr %138, i64 4
%140 = load i8, ptr %139, align 1
%141 = zext i8 %140 to i32
%142 = xor i32 %141, 50
%143 = trunc i32 %142 to i8
store i8 %143, ptr %139, align 1
%144 = load ptr, ptr %8, align 8
%145 = getelementptr inbounds i8, ptr %144, i64 5
%146 = load i8, ptr %145, align 1
%147 = zext i8 %146 to i32
%148 = xor i32 %147, 49
%149 = trunc i32 %148 to i8
store i8 %149, ptr %145, align 1
%150 = load ptr, ptr %8, align 8
%151 = getelementptr inbounds i8, ptr %150, i64 6
%152 = load i8, ptr %151, align 1
%153 = zext i8 %152 to i32
%154 = xor i32 %153, 48
%155 = trunc i32 %154 to i8
store i8 %155, ptr %151, align 1
%156 = load ptr, ptr %8, align 8
%157 = getelementptr inbounds i8, ptr %156, i64 7
%158 = load i8, ptr %157, align 1
%159 = zext i8 %158 to i32
%160 = xor i32 %159, 32
%161 = trunc i32 %160 to i8
store i8 %161, ptr %157, align 1
%162 = load ptr, ptr %8, align 8
%163 = getelementptr inbounds i8, ptr %162, i64 8
%164 = load i8, ptr %163, align 1
%165 = zext i8 %164 to i32
%166 = xor i32 %165, 72
%167 = trunc i32 %166 to i8
store i8 %167, ptr %163, align 1
%168 = load ptr, ptr %8, align 8
%169 = getelementptr inbounds i8, ptr %168, i64 9
%170 = load i8, ptr %169, align 1
%171 = zext i8 %170 to i32
%172 = xor i32 %171, 69
%173 = trunc i32 %172 to i8
store i8 %173, ptr %169, align 1
%174 = load ptr, ptr %8, align 8
%175 = getelementptr inbounds i8, ptr %174, i64 10
%176 = load i8, ptr %175, align 1
%177 = zext i8 %176 to i32
%178 = xor i32 %177, 65
%179 = trunc i32 %178 to i8
store i8 %179, ptr %175, align 1
%180 = load ptr, ptr %8, align 8
%181 = getelementptr inbounds i8, ptr %180, i64 11
%182 = load i8, ptr %181, align 1
%183 = zext i8 %182 to i32
%184 = xor i32 %183, 68
%185 = trunc i32 %184 to i8
store i8 %185, ptr %181, align 1
%186 = load ptr, ptr %8, align 8
%187 = getelementptr inbounds i8, ptr %186, i64 12
%188 = load i8, ptr %187, align 1
%189 = zext i8 %188 to i32
%190 = xor i32 %189, 69
%191 = trunc i32 %190 to i8
store i8 %191, ptr %187, align 1
%192 = load ptr, ptr %8, align 8
%193 = getelementptr inbounds i8, ptr %192, i64 13
%194 = load i8, ptr %193, align 1
%195 = zext i8 %194 to i32
%196 = xor i32 %195, 82
%197 = trunc i32 %196 to i8
store i8 %197, ptr %193, align 1
%198 = load ptr, ptr %8, align 8
%199 = getelementptr inbounds i8, ptr %198, i64 14
%200 = load i8, ptr %199, align 1
%201 = zext i8 %200 to i32
%202 = xor i32 %201, 32
%203 = trunc i32 %202 to i8
store i8 %203, ptr %199, align 1
%204 = load ptr, ptr %8, align 8
%205 = getelementptr inbounds i8, ptr %204, i64 15
%206 = load i8, ptr %205, align 1
%207 = zext i8 %206 to i32
%208 = xor i32 %207, 32
%209 = trunc i32 %208 to i8
store i8 %209, ptr %205, align 1
store i32 1, ptr %14, align 4
%210 = load i32, ptr %14, align 4
%211 = icmp slt i32 %210, 16
br i1 %211, label %.lr.ph2, label %233
.lr.ph2: ; preds = %108
br label %212
212: ; preds = %.lr.ph2, %228
%213 = load ptr, ptr %8, align 8
%214 = load i32, ptr %14, align 4
%215 = sub nsw i32 %214, 1
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds i8, ptr %213, i64 %216
%218 = load i8, ptr %217, align 1
%219 = zext i8 %218 to i32
%220 = load ptr, ptr %8, align 8
%221 = load i32, ptr %14, align 4
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds i8, ptr %220, i64 %222
%224 = load i8, ptr %223, align 1
%225 = zext i8 %224 to i32
%226 = xor i32 %225, %219
%227 = trunc i32 %226 to i8
store i8 %227, ptr %223, align 1
br label %228
228: ; preds = %212
%229 = load i32, ptr %14, align 4
%230 = add nsw i32 %229, 1
store i32 %230, ptr %14, align 4
%231 = load i32, ptr %14, align 4
%232 = icmp slt i32 %231, 16
br i1 %232, label %212, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %228
br label %233
233: ; preds = %._crit_edge3, %108
%234 = load ptr, ptr %5, align 8
%235 = getelementptr inbounds ptr, ptr %234, i64 2
%236 = load ptr, ptr %235, align 8
%237 = call ptr @fopen(ptr noundef %236, ptr noundef @.str.5)
store ptr %237, ptr %6, align 8
%238 = load ptr, ptr %6, align 8
%239 = icmp eq ptr %238, null
br i1 %239, label %240, label %244
240: ; preds = %233
%241 = call i32 @printf(ptr noundef @.str.6)
%242 = load ptr, ptr %7, align 8
%243 = call i32 @free(ptr noundef %242)
store i32 -1, ptr %3, align 4
br label %268
244: ; preds = %233
%245 = load ptr, ptr %8, align 8
store ptr %245, ptr %9, align 8
%246 = load ptr, ptr %9, align 8
%247 = load i32, ptr %10, align 4
%248 = load ptr, ptr %6, align 8
%249 = call i32 @fwrite(ptr noundef %246, i32 noundef 1, i32 noundef %247, ptr noundef %248)
store i32 %249, ptr %11, align 4
%250 = load i32, ptr %11, align 4
%251 = load i32, ptr %10, align 4
%252 = icmp ne i32 %250, %251
br i1 %252, label %253, label %261
253: ; preds = %244
%254 = call i32 @printf(ptr noundef @.str.7)
%255 = load ptr, ptr %7, align 8
%256 = call i32 @free(ptr noundef %255)
%257 = load ptr, ptr %8, align 8
%258 = call i32 @free(ptr noundef %257)
%259 = load ptr, ptr %6, align 8
%260 = call i32 @fclose(ptr noundef %259)
store i32 -1, ptr %3, align 4
br label %268
261: ; preds = %244
%262 = load ptr, ptr %7, align 8
%263 = call i32 @free(ptr noundef %262)
%264 = load ptr, ptr %8, align 8
%265 = call i32 @free(ptr noundef %264)
%266 = load ptr, ptr %6, align 8
%267 = call i32 @fclose(ptr noundef %266)
store i32 0, ptr %3, align 4
br label %268
268: ; preds = %261, %253, %240, %72, %58, %42, %17
%269 = load i32, ptr %3, align 4
ret i32 %269
}
declare i32 @printf(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpxvoamqz7.c'
source_filename = "/tmp/tmpxvoamqz7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ucarrlog(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i8 1, ptr %5, align 1
%8 = load i8, ptr %5, align 1
%9 = call zeroext i8 @logf(i8 noundef zeroext %8)
store i8 %9, ptr %7, align 1
%10 = load ptr, ptr %3, align 8
%11 = load i64, ptr %4, align 8
%12 = getelementptr inbounds i8, ptr %10, i64 %11
store ptr %12, ptr %6, align 8
br label %13
13: ; preds = %27, %2
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = zext i8 %15 to i32
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %23
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = call zeroext i8 @logf(i8 noundef zeroext %20)
%22 = load ptr, ptr %3, align 8
store i8 %21, ptr %22, align 1
br label %26
23: ; preds = %13
%24 = load i8, ptr %7, align 1
%25 = load ptr, ptr %3, align 8
store i8 %24, ptr %25, align 1
br label %26
26: ; preds = %23, %18
br label %27
27: ; preds = %26
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %3, align 8
%30 = load ptr, ptr %6, align 8
%31 = icmp ult ptr %29, %30
br i1 %31, label %13, label %32, !llvm.loop !6
32: ; preds = %27
ret void
}
declare zeroext i8 @logf(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxvoamqz7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ucarrlog(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i8 1, ptr %5, align 1
%8 = load i8, ptr %5, align 1
%9 = call zeroext i8 @logf(i8 noundef zeroext %8)
store i8 %9, ptr %7, align 1
%10 = load ptr, ptr %3, align 8
%11 = load i64, ptr %4, align 8
%12 = getelementptr inbounds i8, ptr %10, i64 %11
store ptr %12, ptr %6, align 8
br label %13
13: ; preds = %27, %2
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = zext i8 %15 to i32
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %23
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = call zeroext i8 @logf(i8 noundef zeroext %20)
%22 = load ptr, ptr %3, align 8
store i8 %21, ptr %22, align 1
br label %26
23: ; preds = %13
%24 = load i8, ptr %7, align 1
%25 = load ptr, ptr %3, align 8
store i8 %24, ptr %25, align 1
br label %26
26: ; preds = %23, %18
br label %27
27: ; preds = %26
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %3, align 8
%30 = load ptr, ptr %6, align 8
%31 = icmp ult ptr %29, %30
br i1 %31, label %13, label %32, !llvm.loop !6
32: ; preds = %27
ret void
}
declare zeroext i8 @logf(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7k7sszdg.c'
source_filename = "/tmp/tmp7k7sszdg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gen_46() #0 {
%1 = alloca i32, align 4
%2 = call i32 @handle_46(i32 noundef 0)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @handle_46(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/tmp7k7sszdg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gen_46() #0 {
%1 = alloca i32, align 4
%2 = call i32 @handle_46(i32 noundef 0)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @handle_46(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/tmpzzzhoiio.c'
source_filename = "/tmp/tmpzzzhoiio.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putchar(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
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/tmpzzzhoiio.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putchar(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
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/tmpbzldyjxz.c'
source_filename = "/tmp/tmpbzldyjxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c">>Welcome to the calculator application.\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"> \00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Max string len reached\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c">>Exiting calculator. Goodbye!\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @calc_init() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i8, align 1
%9 = alloca i32, align 4
store i32 0, ptr %2, align 4
store i32 1, ptr %3, align 4
%10 = call i32 @uart_puts(ptr noundef @.str)
%11 = call i32 @uart_puts(ptr noundef @.str.1)
br label %12
12: ; preds = %88, %0
%13 = load i32, ptr %3, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %89
15: ; preds = %12
store i32 80, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %6, align 8
%19 = alloca i8, i64 %17, align 16
store i64 %17, ptr %7, align 8
%20 = call signext i8 (...) @uart_getc()
store i8 %20, ptr %8, align 1
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = sub nsw i32 %22, 1
%24 = icmp sgt i32 %21, %23
br i1 %24, label %25, label %30
25: ; preds = %15
%26 = call i32 @uart_puts(ptr noundef %19)
%27 = load i32, ptr %4, align 4
%28 = call i32 @reset_string(ptr noundef %19, i32 noundef %27)
%29 = call i32 @uart_puts(ptr noundef @.str.2)
store i32 0, ptr %4, align 4
br label %84
30: ; preds = %15
%31 = load i8, ptr %8, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 13
br i1 %33, label %34, label %48
34: ; preds = %30
%35 = getelementptr inbounds i8, ptr %19, i64 0
%36 = load i8, ptr %35, align 16
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 113
br i1 %38, label %39, label %42
39: ; preds = %34
store i32 0, ptr %3, align 4
%40 = call i32 @uart_puts(ptr noundef @.str.3)
%41 = call i32 @uart_puts(ptr noundef @.str.4)
store i32 1, ptr %1, align 4
store i32 1, ptr %9, align 4
br label %85
42: ; preds = %34
%43 = load i32, ptr %4, align 4
%44 = call i32 @do_math(ptr noundef %19, i32 noundef %43)
store i32 %44, ptr %2, align 4
%45 = load i32, ptr %4, align 4
%46 = call i32 @reset_string(ptr noundef %19, i32 noundef %45)
%47 = call i32 @uart_puts(ptr noundef @.str.1)
store i32 0, ptr %4, align 4
br label %83
48: ; preds = %30
%49 = load i8, ptr %8, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 127
br i1 %51, label %56, label %52
52: ; preds = %48
%53 = load i8, ptr %8, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 8
br i1 %55, label %56, label %70
56: ; preds = %52, %48
%57 = load i32, ptr %4, align 4
%58 = icmp sgt i32 %57, 0
br i1 %58, label %59, label %69
59: ; preds = %56
%60 = call i32 @uart_putc(i8 noundef signext 8)
%61 = call i32 @uart_putc(i8 noundef signext 32)
%62 = call i32 @uart_putc(i8 noundef signext 8)
%63 = load i32, ptr %4, align 4
%64 = sub nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %19, i64 %65
store i8 0, ptr %66, align 1
%67 = load i32, ptr %4, align 4
%68 = add nsw i32 %67, -1
store i32 %68, ptr %4, align 4
br label %69
69: ; preds = %59, %56
br label %82
70: ; preds = %52
%71 = load i8, ptr %8, align 1
%72 = load i32, ptr %4, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %19, i64 %73
store i8 %71, ptr %74, align 1
%75 = load i32, ptr %4, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %19, i64 %76
%78 = load i8, ptr %77, align 1
%79 = call i32 @uart_putc(i8 noundef signext %78)
%80 = load i32, ptr %4, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %4, align 4
br label %82
82: ; preds = %70, %69
br label %83
83: ; preds = %82, %42
br label %84
84: ; preds = %83, %25
store i32 0, ptr %9, align 4
br label %85
85: ; preds = %84, %39
%86 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %86)
%87 = load i32, ptr %9, align 4
switch i32 %87, label %92 [
i32 0, label %88
i32 1, label %90
]
88: ; preds = %85
br label %12, !llvm.loop !6
89: ; preds = %12
store i32 1, ptr %1, align 4
br label %90
90: ; preds = %89, %85
%91 = load i32, ptr %1, align 4
ret i32 %91
92: ; preds = %85
unreachable
}
declare i32 @uart_puts(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare signext i8 @uart_getc(...) #1
declare i32 @reset_string(ptr noundef, i32 noundef) #1
declare i32 @do_math(ptr noundef, i32 noundef) #1
declare i32 @uart_putc(i8 noundef signext) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbzldyjxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c">>Welcome to the calculator application.\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"> \00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Max string len reached\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c">>Exiting calculator. Goodbye!\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @calc_init() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i8, align 1
%9 = alloca i32, align 4
store i32 0, ptr %2, align 4
store i32 1, ptr %3, align 4
%10 = call i32 @uart_puts(ptr noundef @.str)
%11 = call i32 @uart_puts(ptr noundef @.str.1)
%12 = load i32, ptr %3, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %90
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %87
store i32 80, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = zext i32 %15 to i64
%17 = call ptr @llvm.stacksave()
store ptr %17, ptr %6, align 8
%18 = alloca i8, i64 %16, align 16
store i64 %16, ptr %7, align 8
%19 = call signext i8 (...) @uart_getc()
store i8 %19, ptr %8, align 1
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = sub nsw i32 %21, 1
%23 = icmp sgt i32 %20, %22
br i1 %23, label %24, label %29
24: ; preds = %14
%25 = call i32 @uart_puts(ptr noundef %18)
%26 = load i32, ptr %4, align 4
%27 = call i32 @reset_string(ptr noundef %18, i32 noundef %26)
%28 = call i32 @uart_puts(ptr noundef @.str.2)
store i32 0, ptr %4, align 4
br label %83
29: ; preds = %14
%30 = load i8, ptr %8, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 13
br i1 %32, label %33, label %47
33: ; preds = %29
%34 = getelementptr inbounds i8, ptr %18, i64 0
%35 = load i8, ptr %34, align 16
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 113
br i1 %37, label %38, label %41
38: ; preds = %33
store i32 0, ptr %3, align 4
%39 = call i32 @uart_puts(ptr noundef @.str.3)
%40 = call i32 @uart_puts(ptr noundef @.str.4)
store i32 1, ptr %1, align 4
store i32 1, ptr %9, align 4
br label %84
41: ; preds = %33
%42 = load i32, ptr %4, align 4
%43 = call i32 @do_math(ptr noundef %18, i32 noundef %42)
store i32 %43, ptr %2, align 4
%44 = load i32, ptr %4, align 4
%45 = call i32 @reset_string(ptr noundef %18, i32 noundef %44)
%46 = call i32 @uart_puts(ptr noundef @.str.1)
store i32 0, ptr %4, align 4
br label %82
47: ; preds = %29
%48 = load i8, ptr %8, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 127
br i1 %50, label %55, label %51
51: ; preds = %47
%52 = load i8, ptr %8, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 8
br i1 %54, label %55, label %69
55: ; preds = %51, %47
%56 = load i32, ptr %4, align 4
%57 = icmp sgt i32 %56, 0
br i1 %57, label %58, label %68
58: ; preds = %55
%59 = call i32 @uart_putc(i8 noundef signext 8)
%60 = call i32 @uart_putc(i8 noundef signext 32)
%61 = call i32 @uart_putc(i8 noundef signext 8)
%62 = load i32, ptr %4, align 4
%63 = sub nsw i32 %62, 1
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %18, i64 %64
store i8 0, ptr %65, align 1
%66 = load i32, ptr %4, align 4
%67 = add nsw i32 %66, -1
store i32 %67, ptr %4, align 4
br label %68
68: ; preds = %58, %55
br label %81
69: ; preds = %51
%70 = load i8, ptr %8, align 1
%71 = load i32, ptr %4, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %18, i64 %72
store i8 %70, ptr %73, align 1
%74 = load i32, ptr %4, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %18, i64 %75
%77 = load i8, ptr %76, align 1
%78 = call i32 @uart_putc(i8 noundef signext %77)
%79 = load i32, ptr %4, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %4, align 4
br label %81
81: ; preds = %69, %68
br label %82
82: ; preds = %81, %41
br label %83
83: ; preds = %82, %24
store i32 0, ptr %9, align 4
br label %84
84: ; preds = %83, %38
%85 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %85)
%86 = load i32, ptr %9, align 4
switch i32 %86, label %93 [
i32 0, label %87
i32 1, label %.loopexit
]
87: ; preds = %84
%88 = load i32, ptr %3, align 4
%89 = icmp ne i32 %88, 0
br i1 %89, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %87
br label %90
90: ; preds = %._crit_edge, %0
store i32 1, ptr %1, align 4
br label %91
.loopexit: ; preds = %84
br label %91
91: ; preds = %.loopexit, %90
%92 = load i32, ptr %1, align 4
ret i32 %92
93: ; preds = %84
unreachable
}
declare i32 @uart_puts(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare signext i8 @uart_getc(...) #1
declare i32 @reset_string(ptr noundef, i32 noundef) #1
declare i32 @do_math(ptr noundef, i32 noundef) #1
declare i32 @uart_putc(i8 noundef signext) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4x43o_d2.c'
source_filename = "/tmp/tmp4x43o_d2.c"
target datalayout = "e-m:e-p270: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/tmp4x43o_d2.c"
target datalayout = "e-m:e-p270: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/tmpzcw3l07n.c'
source_filename = "/tmp/tmpzcw3l07n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 2
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @strtol(ptr noundef %11, ptr noundef null, i32 noundef 0)
%13 = call i32 @stone(i32 noundef %12)
store i32 %13, ptr %3, align 4
br label %15
14: ; preds = %2
store i32 1, ptr %3, align 4
br label %15
15: ; preds = %14, %8
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @stone(i32 noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzcw3l07n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 2
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @strtol(ptr noundef %11, ptr noundef null, i32 noundef 0)
%13 = call i32 @stone(i32 noundef %12)
store i32 %13, ptr %3, align 4
br label %15
14: ; preds = %2
store i32 1, ptr %3, align 4
br label %15
15: ; preds = %14, %8
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @stone(i32 noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps9adb049.c'
source_filename = "/tmp/tmps9adb049.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i \00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"stringLength test\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"complete\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @stringLength(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @stringLength(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 @stringLength(ptr noundef @.str.3)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @stringLength(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmps9adb049.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i \00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"stringLength test\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"complete\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @stringLength(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @stringLength(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 @stringLength(ptr noundef @.str.3)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @stringLength(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjq86jfe6.c'
source_filename = "/tmp/tmpjq86jfe6.c"
target datalayout = "e-m:e-p270: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/tmpjq86jfe6.c"
target datalayout = "e-m:e-p270: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/tmpmgpxkrnu.c'
source_filename = "/tmp/tmpmgpxkrnu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eg_sa_table_set(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%8 = load i32, ptr %6, align 4
%9 = icmp ult i32 %8, 32
br i1 %9, label %13, label %10
10: ; preds = %3
%11 = load i32, ptr %6, align 4
%12 = icmp ugt i32 %11, 63
br i1 %12, label %13, label %14
13: ; preds = %10, %3
store i32 -1, ptr %4, align 4
br label %19
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = load ptr, ptr %7, align 8
%18 = call i32 @eg_indirect_table_set(i32 noundef %15, i32 noundef 2, i32 noundef %16, i32 noundef 4, ptr noundef %17)
store i32 %18, ptr %4, align 4
br label %19
19: ; preds = %14, %13
%20 = load i32, ptr %4, align 4
ret i32 %20
}
declare i32 @eg_indirect_table_set(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmgpxkrnu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eg_sa_table_set(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%8 = load i32, ptr %6, align 4
%9 = icmp ult i32 %8, 32
br i1 %9, label %13, label %10
10: ; preds = %3
%11 = load i32, ptr %6, align 4
%12 = icmp ugt i32 %11, 63
br i1 %12, label %13, label %14
13: ; preds = %10, %3
store i32 -1, ptr %4, align 4
br label %19
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = load ptr, ptr %7, align 8
%18 = call i32 @eg_indirect_table_set(i32 noundef %15, i32 noundef 2, i32 noundef %16, i32 noundef 4, ptr noundef %17)
store i32 %18, ptr %4, align 4
br label %19
19: ; preds = %14, %13
%20 = load i32, ptr %4, align 4
ret i32 %20
}
declare i32 @eg_indirect_table_set(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw9miltq9.c'
source_filename = "/tmp/tmpw9miltq9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fd_nrf8001_decode_pipe_status_event(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 17
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 (...) @fd_nrf8001_error()
br label %21
11: ; preds = %2
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 1
%14 = call i32 @fd_binary_unpack_uint64(ptr noundef %13)
store i32 %14, ptr %5, align 4
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 9
%17 = call i32 @fd_binary_unpack_uint64(ptr noundef %16)
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %6, align 4
%20 = call i32 @fd_nrf8001_pipe_status_event(i32 noundef %18, i32 noundef %19)
br label %21
21: ; preds = %11, %9
ret void
}
declare i32 @fd_nrf8001_error(...) #1
declare i32 @fd_binary_unpack_uint64(ptr noundef) #1
declare i32 @fd_nrf8001_pipe_status_event(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/tmpw9miltq9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fd_nrf8001_decode_pipe_status_event(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 17
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 (...) @fd_nrf8001_error()
br label %21
11: ; preds = %2
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 1
%14 = call i32 @fd_binary_unpack_uint64(ptr noundef %13)
store i32 %14, ptr %5, align 4
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 9
%17 = call i32 @fd_binary_unpack_uint64(ptr noundef %16)
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %6, align 4
%20 = call i32 @fd_nrf8001_pipe_status_event(i32 noundef %18, i32 noundef %19)
br label %21
21: ; preds = %11, %9
ret void
}
declare i32 @fd_nrf8001_error(...) #1
declare i32 @fd_binary_unpack_uint64(ptr noundef) #1
declare i32 @fd_nrf8001_pipe_status_event(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/tmptbdc_vaj.c'
source_filename = "/tmp/tmptbdc_vaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @float_round(float noundef %0, i64 noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca i64, align 8
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store float %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
%8 = load float, ptr %3, align 4
%9 = call float @fabs(float noundef %8)
%10 = call i32 @log10(float noundef %9)
%11 = call i32 @floor(i32 noundef %10)
%12 = add nsw i32 %11, 1
%13 = sitofp i32 %12 to float
store float %13, ptr %5, align 4
%14 = load float, ptr %3, align 4
%15 = call float @fabs(float noundef %14)
%16 = load float, ptr %5, align 4
%17 = load i64, ptr %4, align 8
%18 = uitofp i64 %17 to float
%19 = fsub float %16, %18
%20 = call float @powf(i32 noundef 10, float noundef %19)
%21 = fdiv float %15, %20
store float %21, ptr %6, align 4
store float 0.000000e+00, ptr %7, align 4
%22 = load float, ptr %6, align 4
%23 = call float @fabs(float noundef %22)
%24 = fpext float %23 to double
%25 = fadd double %24, 5.000000e-01
%26 = fptrunc double %25 to float
%27 = call i32 @modff(float noundef %26, ptr noundef %7)
%28 = load float, ptr %7, align 4
%29 = load float, ptr %5, align 4
%30 = load i64, ptr %4, align 8
%31 = uitofp i64 %30 to float
%32 = fsub float %29, %31
%33 = call float @powf(i32 noundef 10, float noundef %32)
%34 = fmul float %28, %33
%35 = load float, ptr %3, align 4
%36 = call float @copysign(float noundef %34, float noundef %35)
ret float %36
}
declare i32 @floor(i32 noundef) #1
declare i32 @log10(float noundef) #1
declare float @fabs(float noundef) #1
declare float @powf(i32 noundef, float noundef) #1
declare i32 @modff(float noundef, ptr noundef) #1
declare float @copysign(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptbdc_vaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @float_round(float noundef %0, i64 noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca i64, align 8
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store float %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
%8 = load float, ptr %3, align 4
%9 = call float @fabs(float noundef %8)
%10 = call i32 @log10(float noundef %9)
%11 = call i32 @floor(i32 noundef %10)
%12 = add nsw i32 %11, 1
%13 = sitofp i32 %12 to float
store float %13, ptr %5, align 4
%14 = load float, ptr %3, align 4
%15 = call float @fabs(float noundef %14)
%16 = load float, ptr %5, align 4
%17 = load i64, ptr %4, align 8
%18 = uitofp i64 %17 to float
%19 = fsub float %16, %18
%20 = call float @powf(i32 noundef 10, float noundef %19)
%21 = fdiv float %15, %20
store float %21, ptr %6, align 4
store float 0.000000e+00, ptr %7, align 4
%22 = load float, ptr %6, align 4
%23 = call float @fabs(float noundef %22)
%24 = fpext float %23 to double
%25 = fadd double %24, 5.000000e-01
%26 = fptrunc double %25 to float
%27 = call i32 @modff(float noundef %26, ptr noundef %7)
%28 = load float, ptr %7, align 4
%29 = load float, ptr %5, align 4
%30 = load i64, ptr %4, align 8
%31 = uitofp i64 %30 to float
%32 = fsub float %29, %31
%33 = call float @powf(i32 noundef 10, float noundef %32)
%34 = fmul float %28, %33
%35 = load float, ptr %3, align 4
%36 = call float @copysign(float noundef %34, float noundef %35)
ret float %36
}
declare i32 @floor(i32 noundef) #1
declare i32 @log10(float noundef) #1
declare float @fabs(float noundef) #1
declare float @powf(i32 noundef, float noundef) #1
declare i32 @modff(float noundef, ptr noundef) #1
declare float @copysign(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd44zzdc5.c'
source_filename = "/tmp/tmpd44zzdc5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @op_ctz(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = call i64 @ffs(i64 noundef %5)
%7 = sub nsw i64 %6, 1
ret i64 %7
}
declare i64 @ffs(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/tmpd44zzdc5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @op_ctz(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = call i64 @ffs(i64 noundef %5)
%7 = sub nsw i64 %6, 1
ret i64 %7
}
declare i64 @ffs(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/tmp76_ycmn7.c'
source_filename = "/tmp/tmp76_ycmn7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = 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
%9 = call i32 (...) @cls()
%10 = call i32 @setAttr(i32 noundef 46)
store i32 1, ptr %8, align 4
store i32 0, ptr %6, align 4
br label %11
11: ; preds = %44, %2
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %12, 24
br i1 %13, label %14, label %47
14: ; preds = %11
%15 = load i32, ptr %6, align 4
%16 = and i32 %15, 7
%17 = shl i32 %16, 4
%18 = call i32 @setAttr(i32 noundef %17)
store i32 0, ptr %7, align 4
br label %19
19: ; preds = %25, %14
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %28
23: ; preds = %19
%24 = call i32 @outc(i8 noundef signext 32)
br label %25
25: ; preds = %23
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
br label %19, !llvm.loop !6
28: ; preds = %19
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 65, %29
%31 = trunc i32 %30 to i8
%32 = call i32 @outc(i8 noundef signext %31)
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 97, %33
%35 = trunc i32 %34 to i8
%36 = call i32 @outc(i8 noundef signext %35)
%37 = call i32 @outc(i8 noundef signext 32)
%38 = load i32, ptr %8, align 4
%39 = call i32 @outhex(i32 noundef %38)
%40 = load i32, ptr %8, align 4
%41 = load i32, ptr %8, align 4
%42 = add i32 %41, %40
store i32 %42, ptr %8, align 4
%43 = call i32 @outc(i8 noundef signext 10)
br label %44
44: ; preds = %28
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %6, align 4
br label %11, !llvm.loop !8
47: ; preds = %11
%48 = call i32 (...) @display()
ret i32 0
}
declare i32 @cls(...) #1
declare i32 @setAttr(i32 noundef) #1
declare i32 @outc(i8 noundef signext) #1
declare i32 @outhex(i32 noundef) #1
declare i32 @display(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp76_ycmn7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = 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
%9 = call i32 (...) @cls()
%10 = call i32 @setAttr(i32 noundef 46)
store i32 1, ptr %8, align 4
store i32 0, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %11, 24
br i1 %12, label %.lr.ph2, label %50
.lr.ph2: ; preds = %2
br label %13
13: ; preds = %.lr.ph2, %45
%14 = load i32, ptr %6, align 4
%15 = and i32 %14, 7
%16 = shl i32 %15, 4
%17 = call i32 @setAttr(i32 noundef %16)
store i32 0, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %29
.lr.ph: ; preds = %13
br label %21
21: ; preds = %.lr.ph, %23
%22 = call i32 @outc(i8 noundef signext 32)
br label %23
23: ; preds = %21
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %13
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 65, %30
%32 = trunc i32 %31 to i8
%33 = call i32 @outc(i8 noundef signext %32)
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 97, %34
%36 = trunc i32 %35 to i8
%37 = call i32 @outc(i8 noundef signext %36)
%38 = call i32 @outc(i8 noundef signext 32)
%39 = load i32, ptr %8, align 4
%40 = call i32 @outhex(i32 noundef %39)
%41 = load i32, ptr %8, align 4
%42 = load i32, ptr %8, align 4
%43 = add i32 %42, %41
store i32 %43, ptr %8, align 4
%44 = call i32 @outc(i8 noundef signext 10)
br label %45
45: ; preds = %29
%46 = load i32, ptr %6, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %6, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp slt i32 %48, 24
br i1 %49, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %45
br label %50
50: ; preds = %._crit_edge3, %2
%51 = call i32 (...) @display()
ret i32 0
}
declare i32 @cls(...) #1
declare i32 @setAttr(i32 noundef) #1
declare i32 @outc(i8 noundef signext) #1
declare i32 @outhex(i32 noundef) #1
declare i32 @display(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpusaytkpn.c'
source_filename = "/tmp/tmpusaytkpn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @fnv1a_64(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @_FNV_(ptr noundef %3, i32 noundef 0, i32 noundef 1)
ret i64 %4
}
declare i64 @_FNV_(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/tmpusaytkpn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @fnv1a_64(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @_FNV_(ptr noundef %3, i32 noundef 0, i32 noundef 1)
ret i64 %4
}
declare i64 @_FNV_(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/tmp4268mm9k.c'
source_filename = "/tmp/tmp4268mm9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"i/j=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
store i32 2, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = sdiv i32 %4, %5
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4268mm9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"i/j=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
store i32 2, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = sdiv i32 %4, %5
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptlln_t3x.c'
source_filename = "/tmp/tmptlln_t3x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lre_initX(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 %4, align 8
%6 = call i32 @log_set_callback(ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = call i32 @lre_set_conf_path(ptr noundef %7)
%9 = call i32 (...) @lre_init()
ret i32 %9
}
declare i32 @log_set_callback(ptr noundef) #1
declare i32 @lre_set_conf_path(ptr noundef) #1
declare i32 @lre_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptlln_t3x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lre_initX(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 %4, align 8
%6 = call i32 @log_set_callback(ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = call i32 @lre_set_conf_path(ptr noundef %7)
%9 = call i32 (...) @lre_init()
ret i32 %9
}
declare i32 @log_set_callback(ptr noundef) #1
declare i32 @lre_set_conf_path(ptr noundef) #1
declare i32 @lre_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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.