llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpp5a5u1gs.c'
source_filename = "/tmp/tmpp5a5u1gs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ytht_Difftime.ret = internal global [64 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [9 x i8] c"%d\C3\EB\D6\D3%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\C7\B0\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\BA\F3\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%d\B7\D6\D6\D3%s\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"%d\D0\A1\CA\B1%s\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"%d\CC\EC%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ytht_Difftime(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i64 %0, ptr %2, align 8
%7 = call i64 @time(ptr noundef null)
store i64 %7, ptr %3, align 8
%8 = load i64, ptr %3, align 8
%9 = trunc i64 %8 to i32
store i32 %9, ptr %4, align 4
%10 = load i64, ptr %2, align 8
%11 = trunc i64 %10 to i32
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %12, %13
%15 = call i32 @abs(i32 noundef %14) #3
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %16, 60
br i1 %17, label %18, label %26
18: ; preds = %1
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp sgt i32 %20, %21
%23 = zext i1 %22 to i64
%24 = select i1 %22, ptr @.str.1, ptr @.str.2
%25 = call i32 @sprintf(ptr noundef @ytht_Difftime.ret, ptr noundef @.str, i32 noundef %19, ptr noundef %24)
br label %61
26: ; preds = %1
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %27, 3600
br i1 %28, label %29, label %38
29: ; preds = %26
%30 = load i32, ptr %6, align 4
%31 = sdiv i32 %30, 60
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp sgt i32 %32, %33
%35 = zext i1 %34 to i64
%36 = select i1 %34, ptr @.str.1, ptr @.str.2
%37 = call i32 @sprintf(ptr noundef @ytht_Difftime.ret, ptr noundef @.str.3, i32 noundef %31, ptr noundef %36)
br label %60
38: ; preds = %26
%39 = load i32, ptr %6, align 4
%40 = icmp slt i32 %39, 86400
br i1 %40, label %41, label %50
41: ; preds = %38
%42 = load i32, ptr %6, align 4
%43 = sdiv i32 %42, 3600
%44 = load i32, ptr %4, align 4
%45 = load i32, ptr %5, align 4
%46 = icmp sgt i32 %44, %45
%47 = zext i1 %46 to i64
%48 = select i1 %46, ptr @.str.1, ptr @.str.2
%49 = call i32 @sprintf(ptr noundef @ytht_Difftime.ret, ptr noundef @.str.4, i32 noundef %43, ptr noundef %48)
br label %59
50: ; preds = %38
%51 = load i32, ptr %6, align 4
%52 = sdiv i32 %51, 86400
%53 = load i32, ptr %4, align 4
%54 = load i32, ptr %5, align 4
%55 = icmp sgt i32 %53, %54
%56 = zext i1 %55 to i64
%57 = select i1 %55, ptr @.str.1, ptr @.str.2
%58 = call i32 @sprintf(ptr noundef @ytht_Difftime.ret, ptr noundef @.str.5, i32 noundef %52, ptr noundef %57)
br label %59
59: ; preds = %50, %41
br label %60
60: ; preds = %59, %29
br label %61
61: ; preds = %60, %18
ret ptr @ytht_Difftime.ret
}
declare i64 @time(ptr noundef) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-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(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/tmpp5a5u1gs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ytht_Difftime.ret = internal global [64 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [9 x i8] c"%d\C3\EB\D6\D3%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\C7\B0\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\BA\F3\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%d\B7\D6\D6\D3%s\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"%d\D0\A1\CA\B1%s\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"%d\CC\EC%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ytht_Difftime(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i64 %0, ptr %2, align 8
%7 = call i64 @time(ptr noundef null)
store i64 %7, ptr %3, align 8
%8 = load i64, ptr %3, align 8
%9 = trunc i64 %8 to i32
store i32 %9, ptr %4, align 4
%10 = load i64, ptr %2, align 8
%11 = trunc i64 %10 to i32
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %12, %13
%15 = call i32 @abs(i32 noundef %14) #3
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %16, 60
br i1 %17, label %18, label %26
18: ; preds = %1
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp sgt i32 %20, %21
%23 = zext i1 %22 to i64
%24 = select i1 %22, ptr @.str.1, ptr @.str.2
%25 = call i32 @sprintf(ptr noundef @ytht_Difftime.ret, ptr noundef @.str, i32 noundef %19, ptr noundef %24)
br label %61
26: ; preds = %1
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %27, 3600
br i1 %28, label %29, label %38
29: ; preds = %26
%30 = load i32, ptr %6, align 4
%31 = sdiv i32 %30, 60
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp sgt i32 %32, %33
%35 = zext i1 %34 to i64
%36 = select i1 %34, ptr @.str.1, ptr @.str.2
%37 = call i32 @sprintf(ptr noundef @ytht_Difftime.ret, ptr noundef @.str.3, i32 noundef %31, ptr noundef %36)
br label %60
38: ; preds = %26
%39 = load i32, ptr %6, align 4
%40 = icmp slt i32 %39, 86400
br i1 %40, label %41, label %50
41: ; preds = %38
%42 = load i32, ptr %6, align 4
%43 = sdiv i32 %42, 3600
%44 = load i32, ptr %4, align 4
%45 = load i32, ptr %5, align 4
%46 = icmp sgt i32 %44, %45
%47 = zext i1 %46 to i64
%48 = select i1 %46, ptr @.str.1, ptr @.str.2
%49 = call i32 @sprintf(ptr noundef @ytht_Difftime.ret, ptr noundef @.str.4, i32 noundef %43, ptr noundef %48)
br label %59
50: ; preds = %38
%51 = load i32, ptr %6, align 4
%52 = sdiv i32 %51, 86400
%53 = load i32, ptr %4, align 4
%54 = load i32, ptr %5, align 4
%55 = icmp sgt i32 %53, %54
%56 = zext i1 %55 to i64
%57 = select i1 %55, ptr @.str.1, ptr @.str.2
%58 = call i32 @sprintf(ptr noundef @ytht_Difftime.ret, ptr noundef @.str.5, i32 noundef %52, ptr noundef %57)
br label %59
59: ; preds = %50, %41
br label %60
60: ; preds = %59, %29
br label %61
61: ; preds = %60, %18
ret ptr @ytht_Difftime.ret
}
declare i64 @time(ptr noundef) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-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(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/tmp6usr4jwg.c'
source_filename = "/tmp/tmp6usr4jwg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_WRONLY = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6usr4jwg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_WRONLY = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1s_g92ak.c'
source_filename = "/tmp/tmp1s_g92ak.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@False = dso_local global i32 0, align 4
@None = dso_local global i64 0, align 8
@PropModeReplace = dso_local global i32 0, align 4
@Success = dso_local global i32 0, align 4
@XA_CARDINAL = 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/tmp1s_g92ak.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@False = dso_local global i32 0, align 4
@None = dso_local global i64 0, align 8
@PropModeReplace = dso_local global i32 0, align 4
@Success = dso_local global i32 0, align 4
@XA_CARDINAL = 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/tmpw4n9zavc.c'
source_filename = "/tmp/tmpw4n9zavc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getop(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%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 0, ptr %4, align 4
br label %7
7: ; preds = %19, %1
%8 = call i32 (...) @getch()
store i32 %8, ptr %5, align 4
%9 = trunc i32 %8 to i8
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
store i8 %9, ptr %11, align 1
%12 = sext i8 %9 to i32
%13 = icmp eq i32 %12, 32
br i1 %13, label %17, label %14
14: ; preds = %7
%15 = load i32, ptr %5, align 4
%16 = icmp eq i32 %15, 9
br label %17
17: ; preds = %14, %7
%18 = phi i1 [ true, %7 ], [ %16, %14 ]
br i1 %18, label %19, label %20
19: ; preds = %17
br label %7, !llvm.loop !6
20: ; preds = %17
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1
store i8 0, ptr %22, align 1
%23 = load i32, ptr %5, align 4
%24 = trunc i32 %23 to i8
%25 = call i64 @isdigit(i8 noundef signext %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %35, label %27
27: ; preds = %20
%28 = load i32, ptr %5, align 4
%29 = icmp ne i32 %28, 46
br i1 %29, label %30, label %35
30: ; preds = %27
%31 = load i32, ptr %5, align 4
%32 = icmp ne i32 %31, 45
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = load i32, ptr %5, align 4
store i32 %34, ptr %2, align 4
br label %95
35: ; preds = %30, %27, %20
%36 = load i32, ptr %5, align 4
%37 = icmp eq i32 %36, 45
br i1 %37, label %38, label %52
38: ; preds = %35
%39 = call i32 (...) @getch()
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = trunc i32 %40 to i8
%42 = call i64 @isdigit(i8 noundef signext %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %49, label %44
44: ; preds = %38
%45 = load i32, ptr %6, align 4
%46 = icmp ne i32 %45, 46
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = load i32, ptr %5, align 4
store i32 %48, ptr %2, align 4
br label %95
49: ; preds = %44, %38
%50 = load i32, ptr %6, align 4
store i32 %50, ptr %5, align 4
br label %51
51: ; preds = %49
br label %54
52: ; preds = %35
%53 = call i32 (...) @getch()
store i32 %53, ptr %5, align 4
br label %54
54: ; preds = %52, %51
br label %55
55: ; preds = %65, %54
%56 = load i32, ptr %5, align 4
%57 = trunc i32 %56 to i8
%58 = load ptr, ptr %3, align 8
%59 = load i32, ptr %4, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %4, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %58, i64 %61
store i8 %57, ptr %62, align 1
%63 = call i64 @isdigit(i8 noundef signext %57)
%64 = icmp ne i64 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %55
%66 = call i32 (...) @getch()
store i32 %66, ptr %5, align 4
br label %55, !llvm.loop !8
67: ; preds = %55
%68 = load i32, ptr %5, align 4
%69 = icmp eq i32 %68, 46
br i1 %69, label %70, label %83
70: ; preds = %67
br label %71
71: ; preds = %81, %70
%72 = call i32 (...) @getch()
store i32 %72, ptr %5, align 4
%73 = trunc i32 %72 to i8
%74 = load ptr, ptr %3, align 8
%75 = load i32, ptr %4, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %4, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %74, i64 %77
store i8 %73, ptr %78, align 1
%79 = call i64 @isdigit(i8 noundef signext %73)
%80 = icmp ne i64 %79, 0
br i1 %80, label %81, label %82
81: ; preds = %71
br label %71, !llvm.loop !9
82: ; preds = %71
br label %83
83: ; preds = %82, %67
%84 = load ptr, ptr %3, align 8
%85 = load i32, ptr %4, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
store i8 0, ptr %87, align 1
%88 = load i32, ptr %5, align 4
%89 = load i32, ptr @EOF, align 4
%90 = icmp ne i32 %88, %89
br i1 %90, label %91, label %94
91: ; preds = %83
%92 = load i32, ptr %5, align 4
%93 = call i32 @ungetch(i32 noundef %92)
br label %94
94: ; preds = %91, %83
store i32 48, ptr %2, align 4
br label %95
95: ; preds = %94, %47, %33
%96 = load i32, ptr %2, align 4
ret i32 %96
}
declare i32 @getch(...) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i32 @ungetch(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw4n9zavc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getop(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%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 0, ptr %4, align 4
br label %7
7: ; preds = %17, %1
%8 = call i32 (...) @getch()
store i32 %8, ptr %5, align 4
%9 = trunc i32 %8 to i8
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
store i8 %9, ptr %11, align 1
%12 = sext i8 %9 to i32
%13 = icmp eq i32 %12, 32
br i1 %13, label %17, label %14
14: ; preds = %7
%15 = load i32, ptr %5, align 4
%16 = icmp eq i32 %15, 9
br label %17
17: ; preds = %14, %7
%18 = phi i1 [ true, %7 ], [ %16, %14 ]
br i1 %18, label %7, label %19, !llvm.loop !6
19: ; preds = %17
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 1
store i8 0, ptr %21, align 1
%22 = load i32, ptr %5, align 4
%23 = trunc i32 %22 to i8
%24 = call i64 @isdigit(i8 noundef signext %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %34, label %26
26: ; preds = %19
%27 = load i32, ptr %5, align 4
%28 = icmp ne i32 %27, 46
br i1 %28, label %29, label %34
29: ; preds = %26
%30 = load i32, ptr %5, align 4
%31 = icmp ne i32 %30, 45
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = load i32, ptr %5, align 4
store i32 %33, ptr %2, align 4
br label %101
34: ; preds = %29, %26, %19
%35 = load i32, ptr %5, align 4
%36 = icmp eq i32 %35, 45
br i1 %36, label %37, label %51
37: ; preds = %34
%38 = call i32 (...) @getch()
store i32 %38, ptr %6, align 4
%39 = load i32, ptr %6, align 4
%40 = trunc i32 %39 to i8
%41 = call i64 @isdigit(i8 noundef signext %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %48, label %43
43: ; preds = %37
%44 = load i32, ptr %6, align 4
%45 = icmp ne i32 %44, 46
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = load i32, ptr %5, align 4
store i32 %47, ptr %2, align 4
br label %101
48: ; preds = %43, %37
%49 = load i32, ptr %6, align 4
store i32 %49, ptr %5, align 4
br label %50
50: ; preds = %48
br label %53
51: ; preds = %34
%52 = call i32 (...) @getch()
store i32 %52, ptr %5, align 4
br label %53
53: ; preds = %51, %50
%54 = load i32, ptr %5, align 4
%55 = trunc i32 %54 to i8
%56 = load ptr, ptr %3, align 8
%57 = load i32, ptr %4, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %4, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %56, i64 %59
store i8 %55, ptr %60, align 1
%61 = call i64 @isdigit(i8 noundef signext %55)
%62 = icmp ne i64 %61, 0
br i1 %62, label %.lr.ph, label %74
.lr.ph: ; preds = %53
br label %63
63: ; preds = %.lr.ph, %63
%64 = call i32 (...) @getch()
store i32 %64, ptr %5, align 4
%65 = load i32, ptr %5, align 4
%66 = trunc i32 %65 to i8
%67 = load ptr, ptr %3, align 8
%68 = load i32, ptr %4, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %4, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %67, i64 %70
store i8 %66, ptr %71, align 1
%72 = call i64 @isdigit(i8 noundef signext %66)
%73 = icmp ne i64 %72, 0
br i1 %73, label %63, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %63
br label %74
74: ; preds = %._crit_edge, %53
%75 = load i32, ptr %5, align 4
%76 = icmp eq i32 %75, 46
br i1 %76, label %77, label %89
77: ; preds = %74
br label %78
78: ; preds = %78, %77
%79 = call i32 (...) @getch()
store i32 %79, ptr %5, align 4
%80 = trunc i32 %79 to i8
%81 = load ptr, ptr %3, align 8
%82 = load i32, ptr %4, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %4, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %81, i64 %84
store i8 %80, ptr %85, align 1
%86 = call i64 @isdigit(i8 noundef signext %80)
%87 = icmp ne i64 %86, 0
br i1 %87, label %78, label %88, !llvm.loop !9
88: ; preds = %78
br label %89
89: ; preds = %88, %74
%90 = load ptr, ptr %3, align 8
%91 = load i32, ptr %4, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %90, i64 %92
store i8 0, ptr %93, align 1
%94 = load i32, ptr %5, align 4
%95 = load i32, ptr @EOF, align 4
%96 = icmp ne i32 %94, %95
br i1 %96, label %97, label %100
97: ; preds = %89
%98 = load i32, ptr %5, align 4
%99 = call i32 @ungetch(i32 noundef %98)
br label %100
100: ; preds = %97, %89
store i32 48, ptr %2, align 4
br label %101
101: ; preds = %100, %46, %32
%102 = load i32, ptr %2, align 4
ret i32 %102
}
declare i32 @getch(...) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i32 @ungetch(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpj4lpnd2z.c'
source_filename = "/tmp/tmpj4lpnd2z.c"
target datalayout = "e-m:e-p270: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/tmpj4lpnd2z.c"
target datalayout = "e-m:e-p270: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/tmp232uf07x.c'
source_filename = "/tmp/tmp232uf07x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_itoa(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 ptr, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, i32 noundef %8)
ret void
}
declare i32 @sprintf(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/tmp232uf07x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_itoa(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 ptr, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, i32 noundef %8)
ret void
}
declare i32 @sprintf(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/tmpuz7rskgg.c'
source_filename = "/tmp/tmpuz7rskgg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cleangpio(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i32 @munmap(ptr noundef %5, i32 noundef 4096)
%7 = load i32, ptr %3, align 4
%8 = call i32 @close(i32 noundef %7)
ret void
}
declare i32 @munmap(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuz7rskgg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cleangpio(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i32 @munmap(ptr noundef %5, i32 noundef 4096)
%7 = load i32, ptr %3, align 4
%8 = call i32 @close(i32 noundef %7)
ret void
}
declare i32 @munmap(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbybkwv1e.c'
source_filename = "/tmp/tmpbybkwv1e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kore_text_trim(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%7 = load i64, ptr %5, align 8
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %3, align 8
br label %47
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = load i64, ptr %5, align 8
%14 = getelementptr inbounds i8, ptr %12, i64 %13
%15 = getelementptr inbounds i8, ptr %14, i64 -1
store ptr %15, ptr %6, align 8
br label %16
16: ; preds = %27, %11
%17 = load ptr, ptr %4, align 8
%18 = load i8, ptr %17, align 1
%19 = call i64 @isspace(i8 noundef signext %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %25
21: ; preds = %16
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %6, align 8
%24 = icmp ult ptr %22, %23
br label %25
25: ; preds = %21, %16
%26 = phi i1 [ false, %16 ], [ %24, %21 ]
br i1 %26, label %27, label %30
27: ; preds = %25
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %4, align 8
br label %16, !llvm.loop !6
30: ; preds = %25
br label %31
31: ; preds = %42, %30
%32 = load ptr, ptr %6, align 8
%33 = load i8, ptr %32, align 1
%34 = call i64 @isspace(i8 noundef signext %33)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %31
%37 = load ptr, ptr %6, align 8
%38 = load ptr, ptr %4, align 8
%39 = icmp ugt ptr %37, %38
br label %40
40: ; preds = %36, %31
%41 = phi i1 [ false, %31 ], [ %39, %36 ]
br i1 %41, label %42, label %45
42: ; preds = %40
%43 = load ptr, ptr %6, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 -1
store ptr %44, ptr %6, align 8
store i8 0, ptr %43, align 1
br label %31, !llvm.loop !8
45: ; preds = %40
%46 = load ptr, ptr %4, align 8
store ptr %46, ptr %3, align 8
br label %47
47: ; preds = %45, %9
%48 = load ptr, ptr %3, align 8
ret ptr %48
}
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbybkwv1e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kore_text_trim(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%7 = load i64, ptr %5, align 8
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %3, align 8
br label %47
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = load i64, ptr %5, align 8
%14 = getelementptr inbounds i8, ptr %12, i64 %13
%15 = getelementptr inbounds i8, ptr %14, i64 -1
store ptr %15, ptr %6, align 8
br label %16
16: ; preds = %27, %11
%17 = load ptr, ptr %4, align 8
%18 = load i8, ptr %17, align 1
%19 = call i64 @isspace(i8 noundef signext %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %25
21: ; preds = %16
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %6, align 8
%24 = icmp ult ptr %22, %23
br label %25
25: ; preds = %21, %16
%26 = phi i1 [ false, %16 ], [ %24, %21 ]
br i1 %26, label %27, label %30
27: ; preds = %25
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %4, align 8
br label %16, !llvm.loop !6
30: ; preds = %25
br label %31
31: ; preds = %42, %30
%32 = load ptr, ptr %6, align 8
%33 = load i8, ptr %32, align 1
%34 = call i64 @isspace(i8 noundef signext %33)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %31
%37 = load ptr, ptr %6, align 8
%38 = load ptr, ptr %4, align 8
%39 = icmp ugt ptr %37, %38
br label %40
40: ; preds = %36, %31
%41 = phi i1 [ false, %31 ], [ %39, %36 ]
br i1 %41, label %42, label %45
42: ; preds = %40
%43 = load ptr, ptr %6, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 -1
store ptr %44, ptr %6, align 8
store i8 0, ptr %43, align 1
br label %31, !llvm.loop !8
45: ; preds = %40
%46 = load ptr, ptr %4, align 8
store ptr %46, ptr %3, align 8
br label %47
47: ; preds = %45, %9
%48 = load ptr, ptr %3, align 8
ret ptr %48
}
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpb1r00g2m.c'
source_filename = "/tmp/tmpb1r00g2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" array can not be NULL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_binary_search(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %4
br label %15
15: ; preds = %14, %4
%16 = phi i1 [ false, %4 ], [ true, %14 ]
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp sgt i32 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %15
store i32 -1, ptr %5, align 4
br label %111
23: ; preds = %15
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp eq i32 %24, %25
br i1 %26, label %27, label %40
27: ; preds = %23
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = load i32, ptr %9, align 4
%34 = icmp eq i32 %32, %33
br i1 %34, label %35, label %37
35: ; preds = %27
%36 = load i32, ptr %7, align 4
br label %38
37: ; preds = %27
br label %38
38: ; preds = %37, %35
%39 = phi i32 [ %36, %35 ], [ -1, %37 ]
store i32 %39, ptr %5, align 4
br label %111
40: ; preds = %23
br label %41
41: ; preds = %40
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %42, %43
%45 = sdiv i32 %44, 2
store i32 %45, ptr %10, align 4
%46 = load i32, ptr %9, align 4
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
%52 = icmp eq i32 %46, %51
br i1 %52, label %53, label %55
53: ; preds = %41
%54 = load i32, ptr %7, align 4
br label %80
55: ; preds = %41
%56 = load i32, ptr %9, align 4
%57 = load ptr, ptr %6, align 8
%58 = load i32, ptr %8, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
%61 = load i32, ptr %60, align 4
%62 = icmp eq i32 %56, %61
br i1 %62, label %63, label %65
63: ; preds = %55
%64 = load i32, ptr %8, align 4
br label %78
65: ; preds = %55
%66 = load i32, ptr %9, align 4
%67 = load ptr, ptr %6, align 8
%68 = load i32, ptr %10, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
%71 = load i32, ptr %70, align 4
%72 = icmp eq i32 %66, %71
br i1 %72, label %73, label %75
73: ; preds = %65
%74 = load i32, ptr %10, align 4
br label %76
75: ; preds = %65
br label %76
76: ; preds = %75, %73
%77 = phi i32 [ %74, %73 ], [ -1, %75 ]
br label %78
78: ; preds = %76, %63
%79 = phi i32 [ %64, %63 ], [ %77, %76 ]
br label %80
80: ; preds = %78, %53
%81 = phi i32 [ %54, %53 ], [ %79, %78 ]
store i32 %81, ptr %11, align 4
%82 = load i32, ptr %11, align 4
%83 = icmp ne i32 %82, -1
br i1 %83, label %84, label %86
84: ; preds = %80
%85 = load i32, ptr %11, align 4
store i32 %85, ptr %5, align 4
br label %111
86: ; preds = %80
%87 = load i32, ptr %9, align 4
%88 = load ptr, ptr %6, align 8
%89 = load i32, ptr %10, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i32, ptr %88, i64 %90
%92 = load i32, ptr %91, align 4
%93 = icmp sgt i32 %87, %92
br i1 %93, label %94, label %102
94: ; preds = %86
%95 = load ptr, ptr %6, align 8
%96 = load i32, ptr %10, align 4
%97 = add nsw i32 %96, 1
%98 = load i32, ptr %8, align 4
%99 = sub nsw i32 %98, 1
%100 = load i32, ptr %9, align 4
%101 = call i32 @_binary_search(ptr noundef %95, i32 noundef %97, i32 noundef %99, i32 noundef %100)
store i32 %101, ptr %5, align 4
br label %111
102: ; preds = %86
br label %103
103: ; preds = %102
%104 = load ptr, ptr %6, align 8
%105 = load i32, ptr %7, align 4
%106 = add nsw i32 %105, 1
%107 = load i32, ptr %10, align 4
%108 = sub nsw i32 %107, 1
%109 = load i32, ptr %9, align 4
%110 = call i32 @_binary_search(ptr noundef %104, i32 noundef %106, i32 noundef %108, i32 noundef %109)
store i32 %110, ptr %5, align 4
br label %111
111: ; preds = %103, %94, %84, %38, %22
%112 = load i32, ptr %5, align 4
ret i32 %112
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb1r00g2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" array can not be NULL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_binary_search(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %4
br label %15
15: ; preds = %14, %4
%16 = phi i1 [ false, %4 ], [ true, %14 ]
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp sgt i32 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %15
store i32 -1, ptr %5, align 4
br label %111
23: ; preds = %15
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp eq i32 %24, %25
br i1 %26, label %27, label %40
27: ; preds = %23
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = load i32, ptr %9, align 4
%34 = icmp eq i32 %32, %33
br i1 %34, label %35, label %37
35: ; preds = %27
%36 = load i32, ptr %7, align 4
br label %38
37: ; preds = %27
br label %38
38: ; preds = %37, %35
%39 = phi i32 [ %36, %35 ], [ -1, %37 ]
store i32 %39, ptr %5, align 4
br label %111
40: ; preds = %23
br label %41
41: ; preds = %40
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %42, %43
%45 = sdiv i32 %44, 2
store i32 %45, ptr %10, align 4
%46 = load i32, ptr %9, align 4
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
%52 = icmp eq i32 %46, %51
br i1 %52, label %53, label %55
53: ; preds = %41
%54 = load i32, ptr %7, align 4
br label %80
55: ; preds = %41
%56 = load i32, ptr %9, align 4
%57 = load ptr, ptr %6, align 8
%58 = load i32, ptr %8, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
%61 = load i32, ptr %60, align 4
%62 = icmp eq i32 %56, %61
br i1 %62, label %63, label %65
63: ; preds = %55
%64 = load i32, ptr %8, align 4
br label %78
65: ; preds = %55
%66 = load i32, ptr %9, align 4
%67 = load ptr, ptr %6, align 8
%68 = load i32, ptr %10, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
%71 = load i32, ptr %70, align 4
%72 = icmp eq i32 %66, %71
br i1 %72, label %73, label %75
73: ; preds = %65
%74 = load i32, ptr %10, align 4
br label %76
75: ; preds = %65
br label %76
76: ; preds = %75, %73
%77 = phi i32 [ %74, %73 ], [ -1, %75 ]
br label %78
78: ; preds = %76, %63
%79 = phi i32 [ %64, %63 ], [ %77, %76 ]
br label %80
80: ; preds = %78, %53
%81 = phi i32 [ %54, %53 ], [ %79, %78 ]
store i32 %81, ptr %11, align 4
%82 = load i32, ptr %11, align 4
%83 = icmp ne i32 %82, -1
br i1 %83, label %84, label %86
84: ; preds = %80
%85 = load i32, ptr %11, align 4
store i32 %85, ptr %5, align 4
br label %111
86: ; preds = %80
%87 = load i32, ptr %9, align 4
%88 = load ptr, ptr %6, align 8
%89 = load i32, ptr %10, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i32, ptr %88, i64 %90
%92 = load i32, ptr %91, align 4
%93 = icmp sgt i32 %87, %92
br i1 %93, label %94, label %102
94: ; preds = %86
%95 = load ptr, ptr %6, align 8
%96 = load i32, ptr %10, align 4
%97 = add nsw i32 %96, 1
%98 = load i32, ptr %8, align 4
%99 = sub nsw i32 %98, 1
%100 = load i32, ptr %9, align 4
%101 = call i32 @_binary_search(ptr noundef %95, i32 noundef %97, i32 noundef %99, i32 noundef %100)
store i32 %101, ptr %5, align 4
br label %111
102: ; preds = %86
br label %103
103: ; preds = %102
%104 = load ptr, ptr %6, align 8
%105 = load i32, ptr %7, align 4
%106 = add nsw i32 %105, 1
%107 = load i32, ptr %10, align 4
%108 = sub nsw i32 %107, 1
%109 = load i32, ptr %9, align 4
%110 = call i32 @_binary_search(ptr noundef %104, i32 noundef %106, i32 noundef %108, i32 noundef %109)
store i32 %110, ptr %5, align 4
br label %111
111: ; preds = %103, %94, %84, %38, %22
%112 = load i32, ptr %5, align 4
ret i32 %112
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzuakuyo8.c'
source_filename = "/tmp/tmpzuakuyo8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Sleep error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @sleep(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = icmp ult i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @unix_error(ptr noundef @.str)
br label %9
9: ; preds = %7, %1
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @sleep(i32 noundef) #1
declare i32 @unix_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzuakuyo8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Sleep error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @sleep(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = icmp ult i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @unix_error(ptr noundef @.str)
br label %9
9: ; preds = %7, %1
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @sleep(i32 noundef) #1
declare i32 @unix_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwvzh5f9c.c'
source_filename = "/tmp/tmpwvzh5f9c.c"
target datalayout = "e-m:e-p270: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/tmpwvzh5f9c.c"
target datalayout = "e-m:e-p270: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/tmpiaae99py.c'
source_filename = "/tmp/tmpiaae99py.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n = \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"\C3\89 primo!\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"N\C3\A3o \C3\A9 primo!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = sub nsw i32 %7, 1
store i32 %8, ptr %3, align 4
store i32 1, ptr %4, align 4
br label %9
9: ; preds = %18, %0
%10 = load i32, ptr %3, align 4
%11 = icmp sgt i32 %10, 1
br i1 %11, label %12, label %21
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = srem i32 %13, %14
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %12
store i32 0, ptr %4, align 4
br label %21
18: ; preds = %12
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %3, align 4
br label %9, !llvm.loop !6
21: ; preds = %17, %9
%22 = load i32, ptr %4, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = call i32 @printf(ptr noundef @.str.2)
br label %28
26: ; preds = %21
%27 = call i32 @printf(ptr noundef @.str.3)
br label %28
28: ; preds = %26, %24
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiaae99py.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n = \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"\C3\89 primo!\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"N\C3\A3o \C3\A9 primo!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = sub nsw i32 %7, 1
store i32 %8, ptr %3, align 4
store i32 1, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %17
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = srem i32 %12, %13
%15 = icmp ne i32 %14, 0
br i1 %15, label %17, label %16
16: ; preds = %11
store i32 0, ptr %4, align 4
br label %22
17: ; preds = %11
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp sgt i32 %20, 1
br i1 %21, label %11, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %17
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %22
22: ; preds = %.loopexit, %16
%23 = load i32, ptr %4, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = call i32 @printf(ptr noundef @.str.2)
br label %29
27: ; preds = %22
%28 = call i32 @printf(ptr noundef @.str.3)
br label %29
29: ; preds = %27, %25
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkp6pzcc5.c'
source_filename = "/tmp/tmpkp6pzcc5.c"
target datalayout = "e-m:e-p270: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/tmpkp6pzcc5.c"
target datalayout = "e-m:e-p270: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/tmpty5k8jbi.c'
source_filename = "/tmp/tmpty5k8jbi.c"
target datalayout = "e-m:e-p270: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/tmpty5k8jbi.c"
target datalayout = "e-m:e-p270: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/tmprnbv4bh3.c'
source_filename = "/tmp/tmprnbv4bh3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"Digite a quantidade de linhas da matriz A:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"Digite a quantidade de colunas da matriz A:\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Permuta\C3\A7\C3\A3o\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"Noh permuta\C3\A7\C3\A3o\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 [100 x [100 x i32]], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%11 = call i32 @printf(ptr noundef @.str.2)
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
%13 = getelementptr inbounds [100 x [100 x i32]], ptr %8, i64 0, i64 0
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %7, align 4
%16 = call i32 @preencher(ptr noundef %13, i32 noundef %14, i32 noundef %15)
%17 = getelementptr inbounds [100 x [100 x i32]], ptr %8, i64 0, i64 0
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %7, align 4
%20 = call i64 @teste_permutacao(ptr noundef %17, i32 noundef %18, i32 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %2
%23 = call i32 @printf(ptr noundef @.str.3)
br label %26
24: ; preds = %2
%25 = call i32 @printf(ptr noundef @.str.4)
br label %26
26: ; preds = %24, %22
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @preencher(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @teste_permutacao(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/tmprnbv4bh3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"Digite a quantidade de linhas da matriz A:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"Digite a quantidade de colunas da matriz A:\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Permuta\C3\A7\C3\A3o\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"Noh permuta\C3\A7\C3\A3o\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 [100 x [100 x i32]], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%11 = call i32 @printf(ptr noundef @.str.2)
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
%13 = getelementptr inbounds [100 x [100 x i32]], ptr %8, i64 0, i64 0
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %7, align 4
%16 = call i32 @preencher(ptr noundef %13, i32 noundef %14, i32 noundef %15)
%17 = getelementptr inbounds [100 x [100 x i32]], ptr %8, i64 0, i64 0
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %7, align 4
%20 = call i64 @teste_permutacao(ptr noundef %17, i32 noundef %18, i32 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %2
%23 = call i32 @printf(ptr noundef @.str.3)
br label %26
24: ; preds = %2
%25 = call i32 @printf(ptr noundef @.str.4)
br label %26
26: ; preds = %24, %22
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @preencher(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @teste_permutacao(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/tmp9fpkfvhf.c'
source_filename = "/tmp/tmp9fpkfvhf.c"
target datalayout = "e-m:e-p270: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/tmp9fpkfvhf.c"
target datalayout = "e-m:e-p270: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/tmpnyly0iye.c'
source_filename = "/tmp/tmpnyly0iye.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\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() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %5)
%10 = load i32, ptr %3, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %6, align 8
%13 = alloca i32, i64 %11, align 16
store i64 %11, ptr %7, align 8
store i32 0, ptr %4, align 4
br label %14
14: ; preds = %24, %0
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %27
18: ; preds = %14
%19 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %8)
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %13, i64 %22
store i32 %20, ptr %23, align 4
br label %24
24: ; preds = %18
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
br label %14, !llvm.loop !6
27: ; preds = %14
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %5, align 4
%30 = call i32 @pairs(i32 noundef %28, ptr noundef %13, i32 noundef %29)
store i32 %30, ptr %2, align 4
%31 = load i32, ptr %2, align 4
%32 = call i32 @printf(ptr noundef @.str.2, i32 noundef %31)
store i32 0, ptr %1, align 4
%33 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %33)
%34 = load i32, ptr %1, align 4
ret i32 %34
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @pairs(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #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/tmpnyly0iye.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\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() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %5)
%10 = load i32, ptr %3, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %6, align 8
%13 = alloca i32, i64 %11, align 16
store i64 %11, ptr %7, align 8
store i32 0, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %17
17: ; preds = %.lr.ph, %23
%18 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %8)
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %13, i64 %21
store i32 %19, ptr %22, align 4
br label %23
23: ; preds = %17
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %0
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %5, align 4
%32 = call i32 @pairs(i32 noundef %30, ptr noundef %13, i32 noundef %31)
store i32 %32, ptr %2, align 4
%33 = load i32, ptr %2, align 4
%34 = call i32 @printf(ptr noundef @.str.2, i32 noundef %33)
store i32 0, ptr %1, align 4
%35 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %35)
%36 = load i32, ptr %1, align 4
ret i32 %36
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @pairs(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #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/tmp94oyobyv.c'
source_filename = "/tmp/tmp94oyobyv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"%s\0A\0A%s\0AThe command syntax is:\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [62 x i8] c"Brandy Basic V Interpreter Version 1.20.1 (Linux) 24-Sep-2014\00", align 1
@.str.2 = private unnamed_addr constant [208 x i8] c"Brandy is free software; you can redistribute it and/or modify\0D\0Ait under the terms of the GNU General Public License as published by\0D\0Athe Free Software Foundation. See the file COPYING for further details.\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c" brandy [<options>]\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [58 x i8] c"where <options> is one or more of the following options:\0A\00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c" -help Print this message\0A\00", align 1
@.str.6 = private unnamed_addr constant [73 x i8] c" -size <size> Set Basic workspace size to <size> bytes when starting\0A\00", align 1
@.str.7 = private unnamed_addr constant [80 x i8] c" -path <list> Look for programs and libraries in directories in list <list>\0A\00", align 1
@.str.8 = private unnamed_addr constant [72 x i8] c" -load <file> Load Basic program <file> when the interpreter starts\0A\00", align 1
@.str.9 = private unnamed_addr constant [80 x i8] c" -chain <file> Run Basic program <file> and stay in interpreter when it ends\0A\00", align 1
@.str.10 = private unnamed_addr constant [78 x i8] c" -quit <file> Run Basic program <file> and leave interpreter when it ends\0A\00", align 1
@.str.11 = private unnamed_addr constant [76 x i8] c" -lib <file> Load the Basic library <file> when the interpreter starts\0A\00", align 1
@.str.12 = private unnamed_addr constant [69 x i8] c" -ignore Ignore 'unsupported feature' errors where possible\0A\00", align 1
@.str.13 = private unnamed_addr constant [81 x i8] c" <file> Run Basic program <file> and stay in interpreter when it ends\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_help() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
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/tmp94oyobyv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"%s\0A\0A%s\0AThe command syntax is:\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [62 x i8] c"Brandy Basic V Interpreter Version 1.20.1 (Linux) 24-Sep-2014\00", align 1
@.str.2 = private unnamed_addr constant [208 x i8] c"Brandy is free software; you can redistribute it and/or modify\0D\0Ait under the terms of the GNU General Public License as published by\0D\0Athe Free Software Foundation. See the file COPYING for further details.\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c" brandy [<options>]\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [58 x i8] c"where <options> is one or more of the following options:\0A\00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c" -help Print this message\0A\00", align 1
@.str.6 = private unnamed_addr constant [73 x i8] c" -size <size> Set Basic workspace size to <size> bytes when starting\0A\00", align 1
@.str.7 = private unnamed_addr constant [80 x i8] c" -path <list> Look for programs and libraries in directories in list <list>\0A\00", align 1
@.str.8 = private unnamed_addr constant [72 x i8] c" -load <file> Load Basic program <file> when the interpreter starts\0A\00", align 1
@.str.9 = private unnamed_addr constant [80 x i8] c" -chain <file> Run Basic program <file> and stay in interpreter when it ends\0A\00", align 1
@.str.10 = private unnamed_addr constant [78 x i8] c" -quit <file> Run Basic program <file> and leave interpreter when it ends\0A\00", align 1
@.str.11 = private unnamed_addr constant [76 x i8] c" -lib <file> Load the Basic library <file> when the interpreter starts\0A\00", align 1
@.str.12 = private unnamed_addr constant [69 x i8] c" -ignore Ignore 'unsupported feature' errors where possible\0A\00", align 1
@.str.13 = private unnamed_addr constant [81 x i8] c" <file> Run Basic program <file> and stay in interpreter when it ends\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_help() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
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/tmpajbq41v1.c'
source_filename = "/tmp/tmpajbq41v1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OF?\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @a_0_66() #0 {
%1 = call i32 @a_0_55(i32 noundef 15, ptr noundef @.str)
ret void
}
declare i32 @a_0_55(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/tmpajbq41v1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OF?\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @a_0_66() #0 {
%1 = call i32 @a_0_55(i32 noundef 15, ptr noundef @.str)
ret void
}
declare i32 @a_0_55(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/tmp0hvngujf.c'
source_filename = "/tmp/tmp0hvngujf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
@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/tmp0hvngujf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
@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/tmpsfzqrq1n.c'
source_filename = "/tmp/tmpsfzqrq1n.c"
target datalayout = "e-m:e-p270: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/tmpsfzqrq1n.c"
target datalayout = "e-m:e-p270: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/tmp6xg60q47.c'
source_filename = "/tmp/tmp6xg60q47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BatchInterpolatedGradZ3DZeroWarp(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, double noundef %5, double noundef %6, double noundef %7, ptr noundef %8, double noundef %9, double noundef %10, double noundef %11, ptr noundef %12, double noundef %13, double noundef %14, double noundef %15, ptr noundef %16, i64 noundef %17) #0 {
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca ptr, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca ptr, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
%34 = alloca double, align 8
%35 = alloca ptr, align 8
%36 = alloca i64, align 8
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca double, align 8
%40 = alloca i64, align 8
%41 = alloca i64, align 8
%42 = alloca i64, align 8
%43 = alloca i64, align 8
store ptr %0, ptr %19, align 8
store ptr %1, ptr %20, align 8
store i64 %2, ptr %21, align 8
store i64 %3, ptr %22, align 8
store i64 %4, ptr %23, align 8
store double %5, ptr %24, align 8
store double %6, ptr %25, align 8
store double %7, ptr %26, align 8
store ptr %8, ptr %27, align 8
store double %9, ptr %28, align 8
store double %10, ptr %29, align 8
store double %11, ptr %30, align 8
store ptr %12, ptr %31, align 8
store double %13, ptr %32, align 8
store double %14, ptr %33, align 8
store double %15, ptr %34, align 8
store ptr %16, ptr %35, align 8
store i64 %17, ptr %36, align 8
store i64 0, ptr %40, align 8
store i64 0, ptr %43, align 8
br label %44
44: ; preds = %122, %18
%45 = load i64, ptr %43, align 8
%46 = sitofp i64 %45 to double
%47 = load double, ptr %32, align 8
%48 = fcmp olt double %46, %47
br i1 %48, label %49, label %125
49: ; preds = %44
store i64 0, ptr %42, align 8
br label %50
50: ; preds = %118, %49
%51 = load i64, ptr %42, align 8
%52 = sitofp i64 %51 to double
%53 = load double, ptr %28, align 8
%54 = fcmp olt double %52, %53
br i1 %54, label %55, label %121
55: ; preds = %50
store i64 0, ptr %41, align 8
br label %56
56: ; preds = %114, %55
%57 = load i64, ptr %41, align 8
%58 = sitofp i64 %57 to double
%59 = load double, ptr %24, align 8
%60 = fcmp olt double %58, %59
br i1 %60, label %61, label %117
61: ; preds = %56
%62 = load i64, ptr %41, align 8
%63 = sitofp i64 %62 to float
%64 = load ptr, ptr %27, align 8
%65 = load i64, ptr %40, align 8
%66 = getelementptr inbounds float, ptr %64, i64 %65
%67 = load float, ptr %66, align 4
%68 = fadd float %63, %67
%69 = fpext float %68 to double
%70 = load double, ptr %25, align 8
%71 = fsub double %69, %70
%72 = load double, ptr %26, align 8
%73 = fdiv double %71, %72
store double %73, ptr %37, align 8
%74 = load i64, ptr %42, align 8
%75 = sitofp i64 %74 to float
%76 = load ptr, ptr %31, align 8
%77 = load i64, ptr %40, align 8
%78 = getelementptr inbounds float, ptr %76, i64 %77
%79 = load float, ptr %78, align 4
%80 = fadd float %75, %79
%81 = fpext float %80 to double
%82 = load double, ptr %29, align 8
%83 = fsub double %81, %82
%84 = load double, ptr %30, align 8
%85 = fdiv double %83, %84
store double %85, ptr %38, align 8
%86 = load i64, ptr %43, align 8
%87 = sitofp i64 %86 to float
%88 = load ptr, ptr %35, align 8
%89 = load i64, ptr %40, align 8
%90 = getelementptr inbounds float, ptr %88, i64 %89
%91 = load float, ptr %90, align 4
%92 = fadd float %87, %91
%93 = fpext float %92 to double
%94 = load double, ptr %33, align 8
%95 = fsub double %93, %94
%96 = load double, ptr %34, align 8
%97 = fdiv double %95, %96
store double %97, ptr %39, align 8
%98 = load ptr, ptr %20, align 8
%99 = load i64, ptr %21, align 8
%100 = load i64, ptr %22, align 8
%101 = load i64, ptr %23, align 8
%102 = load double, ptr %37, align 8
%103 = load double, ptr %38, align 8
%104 = load double, ptr %39, align 8
%105 = load i64, ptr %36, align 8
%106 = call double @InterpolatedGradZ3DZero(ptr noundef %98, i64 noundef %99, i64 noundef %100, i64 noundef %101, double noundef %102, double noundef %103, double noundef %104, i64 noundef %105)
%107 = load double, ptr %34, align 8
%108 = fdiv double %106, %107
%109 = fptrunc double %108 to float
%110 = load ptr, ptr %19, align 8
%111 = load i64, ptr %40, align 8
%112 = add nsw i64 %111, 1
store i64 %112, ptr %40, align 8
%113 = getelementptr inbounds float, ptr %110, i64 %111
store float %109, ptr %113, align 4
br label %114
114: ; preds = %61
%115 = load i64, ptr %41, align 8
%116 = add nsw i64 %115, 1
store i64 %116, ptr %41, align 8
br label %56, !llvm.loop !6
117: ; preds = %56
br label %118
118: ; preds = %117
%119 = load i64, ptr %42, align 8
%120 = add nsw i64 %119, 1
store i64 %120, ptr %42, align 8
br label %50, !llvm.loop !8
121: ; preds = %50
br label %122
122: ; preds = %121
%123 = load i64, ptr %43, align 8
%124 = add nsw i64 %123, 1
store i64 %124, ptr %43, align 8
br label %44, !llvm.loop !9
125: ; preds = %44
ret void
}
declare double @InterpolatedGradZ3DZero(ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, double noundef, double 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6xg60q47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BatchInterpolatedGradZ3DZeroWarp(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, double noundef %5, double noundef %6, double noundef %7, ptr noundef %8, double noundef %9, double noundef %10, double noundef %11, ptr noundef %12, double noundef %13, double noundef %14, double noundef %15, ptr noundef %16, i64 noundef %17) #0 {
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca ptr, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca ptr, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
%34 = alloca double, align 8
%35 = alloca ptr, align 8
%36 = alloca i64, align 8
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca double, align 8
%40 = alloca i64, align 8
%41 = alloca i64, align 8
%42 = alloca i64, align 8
%43 = alloca i64, align 8
store ptr %0, ptr %19, align 8
store ptr %1, ptr %20, align 8
store i64 %2, ptr %21, align 8
store i64 %3, ptr %22, align 8
store i64 %4, ptr %23, align 8
store double %5, ptr %24, align 8
store double %6, ptr %25, align 8
store double %7, ptr %26, align 8
store ptr %8, ptr %27, align 8
store double %9, ptr %28, align 8
store double %10, ptr %29, align 8
store double %11, ptr %30, align 8
store ptr %12, ptr %31, align 8
store double %13, ptr %32, align 8
store double %14, ptr %33, align 8
store double %15, ptr %34, align 8
store ptr %16, ptr %35, align 8
store i64 %17, ptr %36, align 8
store i64 0, ptr %40, align 8
store i64 0, ptr %43, align 8
%44 = load i64, ptr %43, align 8
%45 = sitofp i64 %44 to double
%46 = load double, ptr %32, align 8
%47 = fcmp olt double %45, %46
br i1 %47, label %.lr.ph5, label %134
.lr.ph5: ; preds = %18
br label %48
48: ; preds = %.lr.ph5, %127
store i64 0, ptr %42, align 8
%49 = load i64, ptr %42, align 8
%50 = sitofp i64 %49 to double
%51 = load double, ptr %28, align 8
%52 = fcmp olt double %50, %51
br i1 %52, label %.lr.ph2, label %126
.lr.ph2: ; preds = %48
br label %53
53: ; preds = %.lr.ph2, %119
store i64 0, ptr %41, align 8
%54 = load i64, ptr %41, align 8
%55 = sitofp i64 %54 to double
%56 = load double, ptr %24, align 8
%57 = fcmp olt double %55, %56
br i1 %57, label %.lr.ph, label %118
.lr.ph: ; preds = %53
br label %58
58: ; preds = %.lr.ph, %111
%59 = load i64, ptr %41, align 8
%60 = sitofp i64 %59 to float
%61 = load ptr, ptr %27, align 8
%62 = load i64, ptr %40, align 8
%63 = getelementptr inbounds float, ptr %61, i64 %62
%64 = load float, ptr %63, align 4
%65 = fadd float %60, %64
%66 = fpext float %65 to double
%67 = load double, ptr %25, align 8
%68 = fsub double %66, %67
%69 = load double, ptr %26, align 8
%70 = fdiv double %68, %69
store double %70, ptr %37, align 8
%71 = load i64, ptr %42, align 8
%72 = sitofp i64 %71 to float
%73 = load ptr, ptr %31, align 8
%74 = load i64, ptr %40, align 8
%75 = getelementptr inbounds float, ptr %73, i64 %74
%76 = load float, ptr %75, align 4
%77 = fadd float %72, %76
%78 = fpext float %77 to double
%79 = load double, ptr %29, align 8
%80 = fsub double %78, %79
%81 = load double, ptr %30, align 8
%82 = fdiv double %80, %81
store double %82, ptr %38, align 8
%83 = load i64, ptr %43, align 8
%84 = sitofp i64 %83 to float
%85 = load ptr, ptr %35, align 8
%86 = load i64, ptr %40, align 8
%87 = getelementptr inbounds float, ptr %85, i64 %86
%88 = load float, ptr %87, align 4
%89 = fadd float %84, %88
%90 = fpext float %89 to double
%91 = load double, ptr %33, align 8
%92 = fsub double %90, %91
%93 = load double, ptr %34, align 8
%94 = fdiv double %92, %93
store double %94, ptr %39, align 8
%95 = load ptr, ptr %20, align 8
%96 = load i64, ptr %21, align 8
%97 = load i64, ptr %22, align 8
%98 = load i64, ptr %23, align 8
%99 = load double, ptr %37, align 8
%100 = load double, ptr %38, align 8
%101 = load double, ptr %39, align 8
%102 = load i64, ptr %36, align 8
%103 = call double @InterpolatedGradZ3DZero(ptr noundef %95, i64 noundef %96, i64 noundef %97, i64 noundef %98, double noundef %99, double noundef %100, double noundef %101, i64 noundef %102)
%104 = load double, ptr %34, align 8
%105 = fdiv double %103, %104
%106 = fptrunc double %105 to float
%107 = load ptr, ptr %19, align 8
%108 = load i64, ptr %40, align 8
%109 = add nsw i64 %108, 1
store i64 %109, ptr %40, align 8
%110 = getelementptr inbounds float, ptr %107, i64 %108
store float %106, ptr %110, align 4
br label %111
111: ; preds = %58
%112 = load i64, ptr %41, align 8
%113 = add nsw i64 %112, 1
store i64 %113, ptr %41, align 8
%114 = load i64, ptr %41, align 8
%115 = sitofp i64 %114 to double
%116 = load double, ptr %24, align 8
%117 = fcmp olt double %115, %116
br i1 %117, label %58, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %111
br label %118
118: ; preds = %._crit_edge, %53
br label %119
119: ; preds = %118
%120 = load i64, ptr %42, align 8
%121 = add nsw i64 %120, 1
store i64 %121, ptr %42, align 8
%122 = load i64, ptr %42, align 8
%123 = sitofp i64 %122 to double
%124 = load double, ptr %28, align 8
%125 = fcmp olt double %123, %124
br i1 %125, label %53, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %119
br label %126
126: ; preds = %._crit_edge3, %48
br label %127
127: ; preds = %126
%128 = load i64, ptr %43, align 8
%129 = add nsw i64 %128, 1
store i64 %129, ptr %43, align 8
%130 = load i64, ptr %43, align 8
%131 = sitofp i64 %130 to double
%132 = load double, ptr %32, align 8
%133 = fcmp olt double %131, %132
br i1 %133, label %48, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %127
br label %134
134: ; preds = %._crit_edge6, %18
ret void
}
declare double @InterpolatedGradZ3DZero(ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, double noundef, double 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpf7frpxgt.c'
source_filename = "/tmp/tmpf7frpxgt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca [2 x i8], align 1
store i8 %0, ptr %2, align 1
%4 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%5 = load i8, ptr %2, align 1
store i8 %5, ptr %4, align 1
%6 = getelementptr inbounds i8, ptr %4, i64 1
store i8 0, ptr %6, align 1
%7 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @_write(ptr noundef %7, i32 noundef 2)
ret void
}
declare i32 @_write(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/tmpf7frpxgt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca [2 x i8], align 1
store i8 %0, ptr %2, align 1
%4 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%5 = load i8, ptr %2, align 1
store i8 %5, ptr %4, align 1
%6 = getelementptr inbounds i8, ptr %4, i64 1
store i8 0, ptr %6, align 1
%7 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @_write(ptr noundef %7, i32 noundef 2)
ret void
}
declare i32 @_write(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/tmpjv3hd5_n.c'
source_filename = "/tmp/tmpjv3hd5_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Allocating 0 bytes!\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Memory allocation error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @safe_malloc(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
%5 = load i64, ptr %3, align 8
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str)
br label %9
9: ; preds = %7, %1
%10 = load i64, ptr %3, align 8
%11 = call ptr @malloc(i64 noundef %10) #3
store ptr %11, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %2, align 8
br label %17
15: ; preds = %9
%16 = call i32 @printf(ptr noundef @.str.1)
store ptr null, ptr %2, align 8
br label %17
17: ; preds = %15, %13
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjv3hd5_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Allocating 0 bytes!\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Memory allocation error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @safe_malloc(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
%5 = load i64, ptr %3, align 8
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str)
br label %9
9: ; preds = %7, %1
%10 = load i64, ptr %3, align 8
%11 = call ptr @malloc(i64 noundef %10) #3
store ptr %11, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %2, align 8
br label %17
15: ; preds = %9
%16 = call i32 @printf(ptr noundef @.str.1)
store ptr null, ptr %2, align 8
br label %17
17: ; preds = %15, %13
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy6pt5fo_.c'
source_filename = "/tmp/tmpy6pt5fo_.c"
target datalayout = "e-m:e-p270: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/tmpy6pt5fo_.c"
target datalayout = "e-m:e-p270: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/tmpnx76guhf.c'
source_filename = "/tmp/tmpnx76guhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcat(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 i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @my_strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %15, label %12
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %12, %2
%16 = load ptr, ptr %4, align 8
store ptr %16, ptr %3, align 8
br label %46
17: ; preds = %12
store i32 0, ptr %7, align 4
br label %18
18: ; preds = %26, %17
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %40
26: ; preds = %18
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
store i8 %31, ptr %35, align 1
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
br label %18, !llvm.loop !6
40: ; preds = %18
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
store i8 0, ptr %44, align 1
%45 = load ptr, ptr %4, align 8
store ptr %45, ptr %3, align 8
br label %46
46: ; preds = %40, %15
%47 = load ptr, ptr %3, align 8
ret ptr %47
}
declare i32 @my_strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnx76guhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcat(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 i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @my_strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %15, label %12
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %12, %2
%16 = load ptr, ptr %4, align 8
store ptr %16, ptr %3, align 8
br label %52
17: ; preds = %12
store i32 0, ptr %7, align 4
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %.lr.ph, label %46
.lr.ph: ; preds = %17
br label %25
25: ; preds = %.lr.ph, %25
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %7, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 %30, ptr %34, align 1
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 0
br i1 %45, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %46
46: ; preds = %._crit_edge, %17
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store i8 0, ptr %50, align 1
%51 = load ptr, ptr %4, align 8
store ptr %51, ptr %3, align 8
br label %52
52: ; preds = %46, %15
%53 = load ptr, ptr %3, align 8
ret ptr %53
}
declare i32 @my_strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1r3xpf2b.c'
source_filename = "/tmp/tmp1r3xpf2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_frame_buf32(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = lshr i32 %6, 24
%8 = trunc i32 %7 to i8
%9 = call i32 @write_frame_buf8(i32 noundef %5, i8 noundef zeroext %8)
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = lshr i32 %11, 16
%13 = trunc i32 %12 to i8
%14 = call i32 @write_frame_buf8(i32 noundef %10, i8 noundef zeroext %13)
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = lshr i32 %16, 8
%18 = trunc i32 %17 to i8
%19 = call i32 @write_frame_buf8(i32 noundef %15, i8 noundef zeroext %18)
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %4, align 4
%22 = trunc i32 %21 to i8
%23 = call i32 @write_frame_buf8(i32 noundef %20, i8 noundef zeroext %22)
ret void
}
declare i32 @write_frame_buf8(i32 noundef, 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1r3xpf2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_frame_buf32(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = lshr i32 %6, 24
%8 = trunc i32 %7 to i8
%9 = call i32 @write_frame_buf8(i32 noundef %5, i8 noundef zeroext %8)
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = lshr i32 %11, 16
%13 = trunc i32 %12 to i8
%14 = call i32 @write_frame_buf8(i32 noundef %10, i8 noundef zeroext %13)
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = lshr i32 %16, 8
%18 = trunc i32 %17 to i8
%19 = call i32 @write_frame_buf8(i32 noundef %15, i8 noundef zeroext %18)
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %4, align 4
%22 = trunc i32 %21 to i8
%23 = call i32 @write_frame_buf8(i32 noundef %20, i8 noundef zeroext %22)
ret void
}
declare i32 @write_frame_buf8(i32 noundef, 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"}
|
; ModuleID = '/tmp/tmpd7hfdy8v.c'
source_filename = "/tmp/tmpd7hfdy8v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crossover2(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%14 = load i32, ptr %10, align 4
%15 = call i32 @irand(i32 noundef %14)
store i32 %15, ptr %11, align 4
%16 = load i32, ptr %10, align 4
%17 = sub nsw i32 %16, 1
%18 = call i32 @irand(i32 noundef %17)
store i32 %18, ptr %12, align 4
%19 = load i32, ptr %12, align 4
%20 = load i32, ptr %11, align 4
%21 = icmp sge i32 %19, %20
br i1 %21, label %22, label %25
22: ; preds = %5
%23 = load i32, ptr %12, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %12, align 4
br label %25
25: ; preds = %22, %5
%26 = load i32, ptr %11, align 4
%27 = load i32, ptr %12, align 4
%28 = icmp sgt i32 %26, %27
br i1 %28, label %29, label %39
29: ; preds = %25
%30 = load i32, ptr %12, align 4
%31 = load i32, ptr %11, align 4
%32 = xor i32 %31, %30
store i32 %32, ptr %11, align 4
%33 = load i32, ptr %11, align 4
%34 = load i32, ptr %12, align 4
%35 = xor i32 %34, %33
store i32 %35, ptr %12, align 4
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %11, align 4
%38 = xor i32 %37, %36
store i32 %38, ptr %11, align 4
br label %39
39: ; preds = %29, %25
store i32 0, ptr %13, align 4
br label %40
40: ; preds = %63, %39
%41 = load i32, ptr %13, align 4
%42 = load i32, ptr %11, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %66
44: ; preds = %40
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %13, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
%49 = load i32, ptr %48, align 4
%50 = load ptr, ptr %8, align 8
%51 = load i32, ptr %13, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %50, i64 %52
store i32 %49, ptr %53, align 4
%54 = load ptr, ptr %7, align 8
%55 = load i32, ptr %13, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load ptr, ptr %9, align 8
%60 = load i32, ptr %13, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
store i32 %58, ptr %62, align 4
br label %63
63: ; preds = %44
%64 = load i32, ptr %13, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %13, align 4
br label %40, !llvm.loop !6
66: ; preds = %40
br label %67
67: ; preds = %90, %66
%68 = load i32, ptr %13, align 4
%69 = load i32, ptr %12, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %93
71: ; preds = %67
%72 = load ptr, ptr %7, align 8
%73 = load i32, ptr %13, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
%76 = load i32, ptr %75, align 4
%77 = load ptr, ptr %8, align 8
%78 = load i32, ptr %13, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %77, i64 %79
store i32 %76, ptr %80, align 4
%81 = load ptr, ptr %6, align 8
%82 = load i32, ptr %13, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %81, i64 %83
%85 = load i32, ptr %84, align 4
%86 = load ptr, ptr %9, align 8
%87 = load i32, ptr %13, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
store i32 %85, ptr %89, align 4
br label %90
90: ; preds = %71
%91 = load i32, ptr %13, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %13, align 4
br label %67, !llvm.loop !8
93: ; preds = %67
br label %94
94: ; preds = %117, %93
%95 = load i32, ptr %13, align 4
%96 = load i32, ptr %10, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %98, label %120
98: ; preds = %94
%99 = load ptr, ptr %6, align 8
%100 = load i32, ptr %13, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, ptr %99, i64 %101
%103 = load i32, ptr %102, align 4
%104 = load ptr, ptr %8, align 8
%105 = load i32, ptr %13, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i32, ptr %104, i64 %106
store i32 %103, ptr %107, align 4
%108 = load ptr, ptr %7, align 8
%109 = load i32, ptr %13, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i32, ptr %108, i64 %110
%112 = load i32, ptr %111, align 4
%113 = load ptr, ptr %9, align 8
%114 = load i32, ptr %13, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i32, ptr %113, i64 %115
store i32 %112, ptr %116, align 4
br label %117
117: ; preds = %98
%118 = load i32, ptr %13, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %13, align 4
br label %94, !llvm.loop !9
120: ; preds = %94
ret void
}
declare i32 @irand(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd7hfdy8v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crossover2(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%14 = load i32, ptr %10, align 4
%15 = call i32 @irand(i32 noundef %14)
store i32 %15, ptr %11, align 4
%16 = load i32, ptr %10, align 4
%17 = sub nsw i32 %16, 1
%18 = call i32 @irand(i32 noundef %17)
store i32 %18, ptr %12, align 4
%19 = load i32, ptr %12, align 4
%20 = load i32, ptr %11, align 4
%21 = icmp sge i32 %19, %20
br i1 %21, label %22, label %25
22: ; preds = %5
%23 = load i32, ptr %12, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %12, align 4
br label %25
25: ; preds = %22, %5
%26 = load i32, ptr %11, align 4
%27 = load i32, ptr %12, align 4
%28 = icmp sgt i32 %26, %27
br i1 %28, label %29, label %39
29: ; preds = %25
%30 = load i32, ptr %12, align 4
%31 = load i32, ptr %11, align 4
%32 = xor i32 %31, %30
store i32 %32, ptr %11, align 4
%33 = load i32, ptr %11, align 4
%34 = load i32, ptr %12, align 4
%35 = xor i32 %34, %33
store i32 %35, ptr %12, align 4
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %11, align 4
%38 = xor i32 %37, %36
store i32 %38, ptr %11, align 4
br label %39
39: ; preds = %29, %25
store i32 0, ptr %13, align 4
%40 = load i32, ptr %13, align 4
%41 = load i32, ptr %11, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %.lr.ph, label %68
.lr.ph: ; preds = %39
br label %43
43: ; preds = %.lr.ph, %62
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %13, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
%48 = load i32, ptr %47, align 4
%49 = load ptr, ptr %8, align 8
%50 = load i32, ptr %13, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
store i32 %48, ptr %52, align 4
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %13, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load ptr, ptr %9, align 8
%59 = load i32, ptr %13, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
store i32 %57, ptr %61, align 4
br label %62
62: ; preds = %43
%63 = load i32, ptr %13, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %13, align 4
%65 = load i32, ptr %13, align 4
%66 = load i32, ptr %11, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %43, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %68
68: ; preds = %._crit_edge, %39
%69 = load i32, ptr %13, align 4
%70 = load i32, ptr %12, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %.lr.ph2, label %97
.lr.ph2: ; preds = %68
br label %72
72: ; preds = %.lr.ph2, %91
%73 = load ptr, ptr %7, align 8
%74 = load i32, ptr %13, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
%77 = load i32, ptr %76, align 4
%78 = load ptr, ptr %8, align 8
%79 = load i32, ptr %13, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i32, ptr %78, i64 %80
store i32 %77, ptr %81, align 4
%82 = load ptr, ptr %6, align 8
%83 = load i32, ptr %13, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32, ptr %82, i64 %84
%86 = load i32, ptr %85, align 4
%87 = load ptr, ptr %9, align 8
%88 = load i32, ptr %13, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %87, i64 %89
store i32 %86, ptr %90, align 4
br label %91
91: ; preds = %72
%92 = load i32, ptr %13, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %13, align 4
%94 = load i32, ptr %13, align 4
%95 = load i32, ptr %12, align 4
%96 = icmp slt i32 %94, %95
br i1 %96, label %72, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %91
br label %97
97: ; preds = %._crit_edge3, %68
%98 = load i32, ptr %13, align 4
%99 = load i32, ptr %10, align 4
%100 = icmp slt i32 %98, %99
br i1 %100, label %.lr.ph5, label %126
.lr.ph5: ; preds = %97
br label %101
101: ; preds = %.lr.ph5, %120
%102 = load ptr, ptr %6, align 8
%103 = load i32, ptr %13, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i32, ptr %102, i64 %104
%106 = load i32, ptr %105, align 4
%107 = load ptr, ptr %8, align 8
%108 = load i32, ptr %13, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i32, ptr %107, i64 %109
store i32 %106, ptr %110, align 4
%111 = load ptr, ptr %7, align 8
%112 = load i32, ptr %13, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i32, ptr %111, i64 %113
%115 = load i32, ptr %114, align 4
%116 = load ptr, ptr %9, align 8
%117 = load i32, ptr %13, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i32, ptr %116, i64 %118
store i32 %115, ptr %119, align 4
br label %120
120: ; preds = %101
%121 = load i32, ptr %13, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %13, align 4
%123 = load i32, ptr %13, align 4
%124 = load i32, ptr %10, align 4
%125 = icmp slt i32 %123, %124
br i1 %125, label %101, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %120
br label %126
126: ; preds = %._crit_edge6, %97
ret void
}
declare i32 @irand(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpg5qb28t0.c'
source_filename = "/tmp/tmpg5qb28t0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HTTP/1.1 416\00", align 1
@.str.1 = private unnamed_addr constant [64 x i8] c"Server returned HTTP/1.1 416 - Requested Range Not Satisfiable\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"HTTP/1.1 403\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"<Server returned HTTP/1.1 403 - Permission Denied\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"HTTP/1.1 404\00", align 1
@.str.5 = private unnamed_addr constant [48 x i8] c"<Server returned HTTP/1.1 404 - File Not Found\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handleHttpRetcode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @strstr(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = ptrtoint ptr %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = call i32 @Log(ptr noundef @.str.1)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %1
%15 = load ptr, ptr %2, align 8
%16 = call ptr @strstr(ptr noundef %15, ptr noundef @.str.2)
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = ptrtoint ptr %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = call i32 @Log(ptr noundef @.str.3)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %14
%24 = load ptr, ptr %2, align 8
%25 = call ptr @strstr(ptr noundef %24, ptr noundef @.str.4)
store ptr %25, ptr %3, align 8
%26 = load ptr, ptr %3, align 8
%27 = ptrtoint ptr %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %23
%30 = call i32 @Log(ptr noundef @.str.5)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %23
br label %33
33: ; preds = %32
br label %34
34: ; preds = %33
ret void
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @Log(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg5qb28t0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HTTP/1.1 416\00", align 1
@.str.1 = private unnamed_addr constant [64 x i8] c"Server returned HTTP/1.1 416 - Requested Range Not Satisfiable\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"HTTP/1.1 403\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"<Server returned HTTP/1.1 403 - Permission Denied\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"HTTP/1.1 404\00", align 1
@.str.5 = private unnamed_addr constant [48 x i8] c"<Server returned HTTP/1.1 404 - File Not Found\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handleHttpRetcode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @strstr(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = ptrtoint ptr %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = call i32 @Log(ptr noundef @.str.1)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %1
%15 = load ptr, ptr %2, align 8
%16 = call ptr @strstr(ptr noundef %15, ptr noundef @.str.2)
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = ptrtoint ptr %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = call i32 @Log(ptr noundef @.str.3)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %14
%24 = load ptr, ptr %2, align 8
%25 = call ptr @strstr(ptr noundef %24, ptr noundef @.str.4)
store ptr %25, ptr %3, align 8
%26 = load ptr, ptr %3, align 8
%27 = ptrtoint ptr %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %23
%30 = call i32 @Log(ptr noundef @.str.5)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %23
br label %33
33: ; preds = %32
br label %34
34: ; preds = %33
ret void
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @Log(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy1hb0881.c'
source_filename = "/tmp/tmpy1hb0881.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"You can't do that without a process to debug.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @noprocess() #0 {
%1 = call i32 @error(ptr noundef @.str)
ret void
}
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy1hb0881.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"You can't do that without a process to debug.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @noprocess() #0 {
%1 = call i32 @error(ptr noundef @.str)
ret void
}
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz75564xm.c'
source_filename = "/tmp/tmpz75564xm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Enter the text: \0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Enter the Value of M and N: \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str)
br label %8
8: ; preds = %17, %0
%9 = call signext i8 (...) @getchar()
store i8 %9, ptr %3, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 10
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 20
br label %15
15: ; preds = %12, %8
%16 = phi i1 [ false, %8 ], [ %14, %12 ]
br i1 %16, label %17, label %23
17: ; preds = %15
%18 = load i8, ptr %3, align 1
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
%21 = sext i32 %19 to i64
%22 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %21
store i8 %18, ptr %22, align 1
br label %8, !llvm.loop !6
23: ; preds = %15
%24 = call i32 @printf(ptr noundef @.str.1)
%25 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %6, ptr noundef %5)
%26 = load i32, ptr %5, align 4
store i32 %26, ptr %4, align 4
br label %27
27: ; preds = %39, %23
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %29, %30
%32 = icmp slt i32 %28, %31
br i1 %32, label %33, label %42
33: ; preds = %27
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = call i32 @putchar(i8 noundef signext %37)
br label %39
39: ; preds = %33
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %4, align 4
br label %27, !llvm.loop !8
42: ; preds = %27
%43 = call i32 @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare signext i8 @getchar(...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz75564xm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Enter the text: \0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Enter the Value of M and N: \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str)
br label %8
8: ; preds = %17, %0
%9 = call signext i8 (...) @getchar()
store i8 %9, ptr %3, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 10
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 20
br label %15
15: ; preds = %12, %8
%16 = phi i1 [ false, %8 ], [ %14, %12 ]
br i1 %16, label %17, label %23
17: ; preds = %15
%18 = load i8, ptr %3, align 1
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
%21 = sext i32 %19 to i64
%22 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %21
store i8 %18, ptr %22, align 1
br label %8, !llvm.loop !6
23: ; preds = %15
%24 = call i32 @printf(ptr noundef @.str.1)
%25 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %6, ptr noundef %5)
%26 = load i32, ptr %5, align 4
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %28, %29
%31 = icmp slt i32 %27, %30
br i1 %31, label %.lr.ph, label %46
.lr.ph: ; preds = %23
br label %32
32: ; preds = %.lr.ph, %38
%33 = load i32, ptr %4, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = call i32 @putchar(i8 noundef signext %36)
br label %38
38: ; preds = %32
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %4, align 4
%42 = load i32, ptr %5, align 4
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %42, %43
%45 = icmp slt i32 %41, %44
br i1 %45, label %32, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %38
br label %46
46: ; preds = %._crit_edge, %23
%47 = call i32 @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare signext i8 @getchar(...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpfn7v_dwb.c'
source_filename = "/tmp/tmpfn7v_dwb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @misc_replace_ext(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call ptr @strrchr(ptr noundef %9, i8 noundef signext 46)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strlen(ptr noundef %14)
store i32 %15, ptr %8, align 4
br label %23
16: ; preds = %2
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %4, align 8
%19 = ptrtoint ptr %17 to i64
%20 = ptrtoint ptr %18 to i64
%21 = sub i64 %19, %20
%22 = trunc i64 %21 to i32
store i32 %22, ptr %8, align 4
br label %23
23: ; preds = %16, %13
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = load ptr, ptr %5, align 8
%27 = call i32 @strlen(ptr noundef %26)
%28 = add nsw i32 %25, %27
%29 = add nsw i32 %28, 1
%30 = call ptr @malloc(i32 noundef %29)
store ptr %30, ptr %7, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %33
32: ; preds = %23
store ptr null, ptr %3, align 8
br label %55
33: ; preds = %23
%34 = load ptr, ptr %6, align 8
%35 = load ptr, ptr %4, align 8
%36 = icmp ne ptr %34, %35
br i1 %36, label %37, label %42
37: ; preds = %33
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %7, align 8
%40 = load i32, ptr %8, align 4
%41 = call i32 @bcopy(ptr noundef %38, ptr noundef %39, i32 noundef %40)
br label %42
42: ; preds = %37, %33
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %8, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
store i8 46, ptr %46, align 1
%47 = load ptr, ptr %7, align 8
%48 = load i32, ptr %8, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = getelementptr inbounds i8, ptr %50, i64 1
%52 = load ptr, ptr %5, align 8
%53 = call i32 @strcpy(ptr noundef %51, ptr noundef %52)
%54 = load ptr, ptr %7, align 8
store ptr %54, ptr %3, align 8
br label %55
55: ; preds = %42, %32
%56 = load ptr, ptr %3, align 8
ret ptr %56
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfn7v_dwb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @misc_replace_ext(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call ptr @strrchr(ptr noundef %9, i8 noundef signext 46)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strlen(ptr noundef %14)
store i32 %15, ptr %8, align 4
br label %23
16: ; preds = %2
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %4, align 8
%19 = ptrtoint ptr %17 to i64
%20 = ptrtoint ptr %18 to i64
%21 = sub i64 %19, %20
%22 = trunc i64 %21 to i32
store i32 %22, ptr %8, align 4
br label %23
23: ; preds = %16, %13
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = load ptr, ptr %5, align 8
%27 = call i32 @strlen(ptr noundef %26)
%28 = add nsw i32 %25, %27
%29 = add nsw i32 %28, 1
%30 = call ptr @malloc(i32 noundef %29)
store ptr %30, ptr %7, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %33
32: ; preds = %23
store ptr null, ptr %3, align 8
br label %55
33: ; preds = %23
%34 = load ptr, ptr %6, align 8
%35 = load ptr, ptr %4, align 8
%36 = icmp ne ptr %34, %35
br i1 %36, label %37, label %42
37: ; preds = %33
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %7, align 8
%40 = load i32, ptr %8, align 4
%41 = call i32 @bcopy(ptr noundef %38, ptr noundef %39, i32 noundef %40)
br label %42
42: ; preds = %37, %33
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %8, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
store i8 46, ptr %46, align 1
%47 = load ptr, ptr %7, align 8
%48 = load i32, ptr %8, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = getelementptr inbounds i8, ptr %50, i64 1
%52 = load ptr, ptr %5, align 8
%53 = call i32 @strcpy(ptr noundef %51, ptr noundef %52)
%54 = load ptr, ptr %7, align 8
store ptr %54, ptr %3, align 8
br label %55
55: ; preds = %42, %32
%56 = load ptr, ptr %3, align 8
ret ptr %56
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7s0p3yc3.c'
source_filename = "/tmp/tmp7s0p3yc3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @rand()
store i32 %7, ptr %6, align 4
%8 = load i32, ptr %6, align 4
ret i32 %8
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7s0p3yc3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @rand()
store i32 %7, ptr %6, align 4
%8 = load i32, ptr %6, align 4
ret i32 %8
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf03xf1ah.c'
source_filename = "/tmp/tmpf03xf1ah.c"
target datalayout = "e-m:e-p270: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/tmpf03xf1ah.c"
target datalayout = "e-m:e-p270: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/tmpjzvr1j5b.c'
source_filename = "/tmp/tmpjzvr1j5b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stage_cu() #0 {
%1 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 0)
%2 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1895626494)
%3 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 4)
%4 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1082064896)
%5 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 0)
%6 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 4)
%7 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 31)
%8 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 15)
%9 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 7)
%10 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
%11 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 16)
%12 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 19)
%13 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 43)
%14 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 0)
%15 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 15)
%16 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
%17 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 32)
%18 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 36)
%19 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 10)
%20 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 0)
%21 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 0)
%22 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
ret void
}
declare i32 @Xil_Out32(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/tmpjzvr1j5b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stage_cu() #0 {
%1 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 0)
%2 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1895626494)
%3 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 4)
%4 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1082064896)
%5 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 0)
%6 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 4)
%7 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 31)
%8 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 15)
%9 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 7)
%10 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
%11 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 16)
%12 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 19)
%13 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 43)
%14 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 0)
%15 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 15)
%16 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
%17 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 32)
%18 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 36)
%19 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 10)
%20 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 0)
%21 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 0)
%22 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
ret void
}
declare i32 @Xil_Out32(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/tmp5fcf1hem.c'
source_filename = "/tmp/tmp5fcf1hem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge_sort(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 ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = sub nsw i32 %6, 1
%8 = call i32 @__merge_sort(ptr noundef %5, i32 noundef 0, i32 noundef %7)
ret void
}
declare i32 @__merge_sort(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/tmp5fcf1hem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge_sort(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 ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = sub nsw i32 %6, 1
%8 = call i32 @__merge_sort(ptr noundef %5, i32 noundef 0, i32 noundef %7)
ret void
}
declare i32 @__merge_sort(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/tmpkxda4pcv.c'
source_filename = "/tmp/tmpkxda4pcv.c"
target datalayout = "e-m:e-p270: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/tmpkxda4pcv.c"
target datalayout = "e-m:e-p270: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/tmpc6ol7a0h.c'
source_filename = "/tmp/tmpc6ol7a0h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcpy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i64 0, ptr %5, align 8
br label %6
6: ; preds = %21, %2
%7 = load i64, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = add nsw i32 %9, 1
%11 = sext i32 %10 to i64
%12 = icmp ult i64 %7, %11
br i1 %12, label %13, label %24
13: ; preds = %6
%14 = load ptr, ptr %4, align 8
%15 = load i64, ptr %5, align 8
%16 = getelementptr inbounds i8, ptr %14, i64 %15
%17 = load i8, ptr %16, align 1
%18 = load ptr, ptr %3, align 8
%19 = load i64, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %18, i64 %19
store i8 %17, ptr %20, align 1
br label %21
21: ; preds = %13
%22 = load i64, ptr %5, align 8
%23 = add i64 %22, 1
store i64 %23, ptr %5, align 8
br label %6, !llvm.loop !6
24: ; preds = %6
%25 = load ptr, ptr %3, align 8
ret ptr %25
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc6ol7a0h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcpy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = add nsw i32 %8, 1
%10 = sext i32 %9 to i64
%11 = icmp ult i64 %6, %10
br i1 %11, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %20
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %5, align 8
%15 = getelementptr inbounds i8, ptr %13, i64 %14
%16 = load i8, ptr %15, align 1
%17 = load ptr, ptr %3, align 8
%18 = load i64, ptr %5, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
store i8 %16, ptr %19, align 1
br label %20
20: ; preds = %12
%21 = load i64, ptr %5, align 8
%22 = add i64 %21, 1
store i64 %22, ptr %5, align 8
%23 = load i64, ptr %5, align 8
%24 = load ptr, ptr %4, align 8
%25 = call i32 @strlen(ptr noundef %24)
%26 = add nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = icmp ult i64 %23, %27
br i1 %28, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %29
29: ; preds = %._crit_edge, %2
%30 = load ptr, ptr %3, align 8
ret ptr %30
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpx_qr__ty.c'
source_filename = "/tmp/tmpx_qr__ty.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @create_letter_distribution_diagram()
ret i32 0
}
declare i32 @create_letter_distribution_diagram(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_qr__ty.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @create_letter_distribution_diagram()
ret i32 0
}
declare i32 @create_letter_distribution_diagram(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9llxd2l5.c'
source_filename = "/tmp/tmp9llxd2l5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"49\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"20\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"19\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @iCompDate6(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [8 x i8], align 1
%6 = alloca [8 x i8], align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%8 = getelementptr inbounds i8, ptr %7, i64 2
%9 = load ptr, ptr %3, align 8
%10 = call i32 (ptr, ...) @memcpy(ptr noundef %8, ptr noundef %9, i32 noundef 6)
%11 = load ptr, ptr %3, align 8
%12 = call i32 (ptr, ...) @memcmp(ptr noundef %11, ptr noundef @.str, i32 noundef 2)
%13 = icmp sle i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%16 = call i32 (ptr, ...) @memcpy(ptr noundef %15, ptr noundef @.str.1, i32 noundef 2)
br label %20
17: ; preds = %2
%18 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%19 = call i32 (ptr, ...) @memcpy(ptr noundef %18, ptr noundef @.str.2, i32 noundef 2)
br label %20
20: ; preds = %17, %14
%21 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%22 = getelementptr inbounds i8, ptr %21, i64 2
%23 = load ptr, ptr %4, align 8
%24 = call i32 (ptr, ...) @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef 6)
%25 = load ptr, ptr %4, align 8
%26 = call i32 (ptr, ...) @memcmp(ptr noundef %25, ptr noundef @.str, i32 noundef 2)
%27 = icmp sle i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %20
%29 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%30 = call i32 (ptr, ...) @memcpy(ptr noundef %29, ptr noundef @.str.1, i32 noundef 2)
br label %34
31: ; preds = %20
%32 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%33 = call i32 (ptr, ...) @memcpy(ptr noundef %32, ptr noundef @.str.2, i32 noundef 2)
br label %34
34: ; preds = %31, %28
%35 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%36 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%37 = call i32 (ptr, ...) @memcmp(ptr noundef %35, ptr noundef %36, i32 noundef 8)
ret i32 %37
}
declare i32 @memcpy(ptr noundef, ...) #1
declare i32 @memcmp(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9llxd2l5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"49\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"20\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"19\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @iCompDate6(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [8 x i8], align 1
%6 = alloca [8 x i8], align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%8 = getelementptr inbounds i8, ptr %7, i64 2
%9 = load ptr, ptr %3, align 8
%10 = call i32 (ptr, ...) @memcpy(ptr noundef %8, ptr noundef %9, i32 noundef 6)
%11 = load ptr, ptr %3, align 8
%12 = call i32 (ptr, ...) @memcmp(ptr noundef %11, ptr noundef @.str, i32 noundef 2)
%13 = icmp sle i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%16 = call i32 (ptr, ...) @memcpy(ptr noundef %15, ptr noundef @.str.1, i32 noundef 2)
br label %20
17: ; preds = %2
%18 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%19 = call i32 (ptr, ...) @memcpy(ptr noundef %18, ptr noundef @.str.2, i32 noundef 2)
br label %20
20: ; preds = %17, %14
%21 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%22 = getelementptr inbounds i8, ptr %21, i64 2
%23 = load ptr, ptr %4, align 8
%24 = call i32 (ptr, ...) @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef 6)
%25 = load ptr, ptr %4, align 8
%26 = call i32 (ptr, ...) @memcmp(ptr noundef %25, ptr noundef @.str, i32 noundef 2)
%27 = icmp sle i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %20
%29 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%30 = call i32 (ptr, ...) @memcpy(ptr noundef %29, ptr noundef @.str.1, i32 noundef 2)
br label %34
31: ; preds = %20
%32 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%33 = call i32 (ptr, ...) @memcpy(ptr noundef %32, ptr noundef @.str.2, i32 noundef 2)
br label %34
34: ; preds = %31, %28
%35 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%36 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%37 = call i32 (ptr, ...) @memcmp(ptr noundef %35, ptr noundef %36, i32 noundef 8)
ret i32 %37
}
declare i32 @memcpy(ptr noundef, ...) #1
declare i32 @memcmp(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppd7isfje.c'
source_filename = "/tmp/tmppd7isfje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @globus_libc_unsetenv(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 @unsetenv(ptr noundef %3)
ret void
}
declare i32 @unsetenv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppd7isfje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @globus_libc_unsetenv(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 @unsetenv(ptr noundef %3)
ret void
}
declare i32 @unsetenv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpctbxo_lm.c'
source_filename = "/tmp/tmpctbxo_lm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call3(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %8, align 4
%11 = call i32 @call(i32 noundef %9, i32 noundef %10)
%12 = load i32, ptr %7, align 4
%13 = call i32 @call(i32 noundef %11, i32 noundef %12)
%14 = load i32, ptr %6, align 4
%15 = call i32 @call(i32 noundef %13, i32 noundef %14)
ret i32 %15
}
declare i32 @call(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/tmpctbxo_lm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call3(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %8, align 4
%11 = call i32 @call(i32 noundef %9, i32 noundef %10)
%12 = load i32, ptr %7, align 4
%13 = call i32 @call(i32 noundef %11, i32 noundef %12)
%14 = load i32, ptr %6, align 4
%15 = call i32 @call(i32 noundef %13, i32 noundef %14)
ret i32 %15
}
declare i32 @call(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/tmpgcvif9cl.c'
source_filename = "/tmp/tmpgcvif9cl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dd_mul_dd_d(ptr noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds double, ptr %9, i64 0
%11 = load double, ptr %10, align 8
%12 = load double, ptr %5, align 8
%13 = call double @dd_two_prod(double noundef %11, double noundef %12, ptr noundef %8)
store double %13, ptr %7, align 8
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds double, ptr %14, i64 1
%16 = load double, ptr %15, align 8
%17 = load double, ptr %5, align 8
%18 = load double, ptr %8, align 8
%19 = call double @llvm.fmuladd.f64(double %16, double %17, double %18)
store double %19, ptr %8, align 8
%20 = load double, ptr %7, align 8
%21 = load double, ptr %8, align 8
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds double, ptr %22, i64 1
%24 = call double @dd_quick_two_sum(double noundef %20, double noundef %21, ptr noundef %23)
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds double, ptr %25, i64 0
store double %24, ptr %26, align 8
ret void
}
declare double @dd_two_prod(double noundef, double noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @dd_quick_two_sum(double noundef, double noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpgcvif9cl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dd_mul_dd_d(ptr noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds double, ptr %9, i64 0
%11 = load double, ptr %10, align 8
%12 = load double, ptr %5, align 8
%13 = call double @dd_two_prod(double noundef %11, double noundef %12, ptr noundef %8)
store double %13, ptr %7, align 8
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds double, ptr %14, i64 1
%16 = load double, ptr %15, align 8
%17 = load double, ptr %5, align 8
%18 = load double, ptr %8, align 8
%19 = call double @llvm.fmuladd.f64(double %16, double %17, double %18)
store double %19, ptr %8, align 8
%20 = load double, ptr %7, align 8
%21 = load double, ptr %8, align 8
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds double, ptr %22, i64 1
%24 = call double @dd_quick_two_sum(double noundef %20, double noundef %21, ptr noundef %23)
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds double, ptr %25, i64 0
store double %24, ptr %26, align 8
ret void
}
declare double @dd_two_prod(double noundef, double noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @dd_quick_two_sum(double noundef, double noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmp2fqjwk67.c'
source_filename = "/tmp/tmp2fqjwk67.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @signum_fun_int32_t(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
%5 = zext i1 %4 to i32
%6 = load i32, ptr %2, align 4
%7 = ashr i32 %6, 31
%8 = or i32 %5, %7
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2fqjwk67.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @signum_fun_int32_t(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
%5 = zext i1 %4 to i32
%6 = load i32, ptr %2, align 4
%7 = ashr i32 %6, 31
%8 = or i32 %5, %7
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi1u7xg8f.c'
source_filename = "/tmp/tmpi1u7xg8f.c"
target datalayout = "e-m:e-p270: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/tmpi1u7xg8f.c"
target datalayout = "e-m:e-p270: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/tmplkc77y15.c'
source_filename = "/tmp/tmplkc77y15.c"
target datalayout = "e-m:e-p270: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_INET6 = 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/tmplkc77y15.c"
target datalayout = "e-m:e-p270: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_INET6 = 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/tmp5v7bnaun.c'
source_filename = "/tmp/tmp5v7bnaun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @CheckId_S5K83A() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 236, i32 noundef 0)
%5 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 178, ptr noundef %2)
%6 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 179, ptr noundef %3)
%7 = load i8, ptr %2, align 1
%8 = zext i8 %7 to i32
%9 = icmp eq i32 %8, 196
br i1 %9, label %10, label %15
10: ; preds = %0
%11 = load i8, ptr %3, align 1
%12 = zext i8 %11 to i32
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %15
14: ; preds = %10
store i8 1, ptr %1, align 1
br label %16
15: ; preds = %10, %0
store i8 0, ptr %1, align 1
br label %16
16: ; preds = %15, %14
%17 = load i8, ptr %1, align 1
ret i8 %17
}
declare i32 @VIM_SIF_I2cWriteByte(i32 noundef, i32 noundef) #1
declare i32 @VIM_SIF_I2cReadByte(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/tmp5v7bnaun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @CheckId_S5K83A() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 236, i32 noundef 0)
%5 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 178, ptr noundef %2)
%6 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 179, ptr noundef %3)
%7 = load i8, ptr %2, align 1
%8 = zext i8 %7 to i32
%9 = icmp eq i32 %8, 196
br i1 %9, label %10, label %15
10: ; preds = %0
%11 = load i8, ptr %3, align 1
%12 = zext i8 %11 to i32
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %15
14: ; preds = %10
store i8 1, ptr %1, align 1
br label %16
15: ; preds = %10, %0
store i8 0, ptr %1, align 1
br label %16
16: ; preds = %15, %14
%17 = load i8, ptr %1, align 1
ret i8 %17
}
declare i32 @VIM_SIF_I2cWriteByte(i32 noundef, i32 noundef) #1
declare i32 @VIM_SIF_I2cReadByte(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/tmpzrxgjb5n.c'
source_filename = "/tmp/tmpzrxgjb5n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%lf %lf\0A\00", align 1
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load double, ptr @M_PI, align 8
%5 = load double, ptr %2, align 8
%6 = fmul double %4, %5
%7 = load double, ptr %2, align 8
%8 = fmul double %6, %7
%9 = load double, ptr @M_PI, align 8
%10 = fmul double 2.000000e+00, %9
%11 = load double, ptr %2, align 8
%12 = fmul double %10, %11
%13 = fptosi double %12 to i32
%14 = call i32 @printf(ptr noundef @.str.1, double noundef %8, i32 noundef %13)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double 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/tmpzrxgjb5n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%lf %lf\0A\00", align 1
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load double, ptr @M_PI, align 8
%5 = load double, ptr %2, align 8
%6 = fmul double %4, %5
%7 = load double, ptr %2, align 8
%8 = fmul double %6, %7
%9 = load double, ptr @M_PI, align 8
%10 = fmul double 2.000000e+00, %9
%11 = load double, ptr %2, align 8
%12 = fmul double %10, %11
%13 = fptosi double %12 to i32
%14 = call i32 @printf(ptr noundef @.str.1, double noundef %8, i32 noundef %13)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double 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/tmpf7mzs0mc.c'
source_filename = "/tmp/tmpf7mzs0mc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Hello from cbar\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf7mzs0mc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Hello from cbar\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkv65hd77.c'
source_filename = "/tmp/tmpkv65hd77.c"
target datalayout = "e-m:e-p270: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.s1 = private unnamed_addr constant [8 x i8] c"catrugb\00", align 1
@__const.main.s2 = private unnamed_addr constant [2 x i8] c"h\00", align 1
@.str = private unnamed_addr constant [5 x i8] c"%d\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i8], align 1
%3 = alloca [2 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s1, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.s2, i64 2, i1 false)
%4 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0
%5 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @any(ptr noundef %4, ptr noundef %5)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @any(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkv65hd77.c"
target datalayout = "e-m:e-p270: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.s1 = private unnamed_addr constant [8 x i8] c"catrugb\00", align 1
@__const.main.s2 = private unnamed_addr constant [2 x i8] c"h\00", align 1
@.str = private unnamed_addr constant [5 x i8] c"%d\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i8], align 1
%3 = alloca [2 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s1, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.s2, i64 2, i1 false)
%4 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0
%5 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @any(ptr noundef %4, ptr noundef %5)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @any(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj6pvi03a.c'
source_filename = "/tmp/tmpj6pvi03a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rbtree_string_cmp(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 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj6pvi03a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rbtree_string_cmp(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 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
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"}
|
; ModuleID = '/tmp/tmpwnkr7ct8.c'
source_filename = "/tmp/tmpwnkr7ct8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Welcome to Q&A.\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Prolog initilization failed.\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Goodbye.\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @printf(ptr noundef @.str)
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @PI_prolog_init(i32 noundef %8, ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 @error(ptr noundef @.str.1)
br label %15
15: ; preds = %13, %2
%16 = call i32 (...) @load_know()
%17 = call i32 (...) @qa_dialog()
%18 = call i32 (...) @PI_shutdown()
%19 = call i32 @printf(ptr noundef @.str.2)
%20 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %20
}
declare i32 @printf(ptr noundef) #1
declare i32 @PI_prolog_init(i32 noundef, ptr noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @load_know(...) #1
declare i32 @qa_dialog(...) #1
declare i32 @PI_shutdown(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwnkr7ct8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Welcome to Q&A.\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Prolog initilization failed.\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Goodbye.\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @printf(ptr noundef @.str)
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @PI_prolog_init(i32 noundef %8, ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 @error(ptr noundef @.str.1)
br label %15
15: ; preds = %13, %2
%16 = call i32 (...) @load_know()
%17 = call i32 (...) @qa_dialog()
%18 = call i32 (...) @PI_shutdown()
%19 = call i32 @printf(ptr noundef @.str.2)
%20 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %20
}
declare i32 @printf(ptr noundef) #1
declare i32 @PI_prolog_init(i32 noundef, ptr noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @load_know(...) #1
declare i32 @qa_dialog(...) #1
declare i32 @PI_shutdown(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpusg8e1ka.c'
source_filename = "/tmp/tmpusg8e1ka.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"open -s -l -- login -h spawn\00", align 1
@SIGHUP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sighup() #0 {
%1 = call i32 @system(ptr noundef @.str)
%2 = load i32, ptr @SIGHUP, align 4
%3 = call i32 @signal(i32 noundef %2, ptr noundef @sighup)
ret void
}
declare i32 @system(ptr noundef) #1
declare i32 @signal(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/tmpusg8e1ka.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"open -s -l -- login -h spawn\00", align 1
@SIGHUP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sighup() #0 {
%1 = call i32 @system(ptr noundef @.str)
%2 = load i32, ptr @SIGHUP, align 4
%3 = call i32 @signal(i32 noundef %2, ptr noundef @sighup)
ret void
}
declare i32 @system(ptr noundef) #1
declare i32 @signal(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/tmp52j7p0pf.c'
source_filename = "/tmp/tmp52j7p0pf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
@.str = private unnamed_addr constant [19 x i8] c"Please use 3 args\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"inet_aton.\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Connecting\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"You would puts: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [15 x i8] c"Send to Server\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"exit\0A\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"Receive from Server\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"Note: Sorry,server closed.\0A\00", align 1
@.str.8 = private unnamed_addr constant [23 x i8] c"Server send to you: %s\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"Close\00", align 1
@.str.10 = private unnamed_addr constant [27 x i8] c"TCP Client has been closed\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 %struct.sockaddr_in, align 4
%7 = alloca i32, align 4
%8 = alloca [1025 x i8], align 16
%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
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 3
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = load i32, ptr @AF_INET, align 4
%17 = load i32, ptr @SOCK_STREAM, align 4
%18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0)
store i32 %18, ptr %7, align 4
%19 = call i32 @bzero(ptr noundef %6, i32 noundef 12)
%20 = load i32, ptr @AF_INET, align 4
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %20, ptr %21, align 4
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 2
%24 = load ptr, ptr %23, align 8
%25 = call i32 @atoi(ptr noundef %24)
%26 = call i32 @htons(i32 noundef %25)
%27 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
store i32 %26, ptr %27, align 4
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 1
%30 = load ptr, ptr %29, align 8
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
%32 = call i64 @inet_aton(ptr noundef %30, ptr noundef %31)
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %15
%35 = call i32 @perror(ptr noundef @.str.1)
%36 = call i32 @exit(i32 noundef 1) #3
unreachable
37: ; preds = %15
%38 = load i32, ptr %7, align 4
%39 = call i64 @connect(i32 noundef %38, ptr noundef %6, i32 noundef 12)
%40 = icmp slt i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = call i32 @perror(ptr noundef @.str.2)
%43 = call i32 @exit(i32 noundef 1) #3
unreachable
44: ; preds = %37
br label %45
45: ; preds = %44, %93
%46 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0
%47 = call i32 @memset(ptr noundef %46, i32 noundef 0, i32 noundef 1025)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%49 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0
%50 = load i32, ptr @stdin, align 4
%51 = call i32 @fgets(ptr noundef %49, i32 noundef 1025, i32 noundef %50)
%52 = load i32, ptr %7, align 4
%53 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0
%54 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0
%55 = call i32 @strlen(ptr noundef %54)
%56 = call i32 @send(i32 noundef %52, ptr noundef %53, i32 noundef %55, i32 noundef 0)
store i32 %56, ptr %9, align 4
%57 = load i32, ptr %9, align 4
%58 = icmp eq i32 %57, -1
br i1 %58, label %59, label %62
59: ; preds = %45
%60 = call i32 @perror(ptr noundef @.str.4)
%61 = call i32 @exit(i32 noundef 1) #3
unreachable
62: ; preds = %45
%63 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0
%64 = call i64 @strcmp(ptr noundef %63, ptr noundef @.str.5)
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %67
66: ; preds = %62
br label %94
67: ; preds = %62
%68 = load i32, ptr %7, align 4
%69 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0
%70 = call i32 @recv(i32 noundef %68, ptr noundef %69, i32 noundef 1024, i32 noundef 0)
store i32 %70, ptr %9, align 4
%71 = load i32, ptr %9, align 4
%72 = icmp eq i32 %71, -1
br i1 %72, label %73, label %76
73: ; preds = %67
%74 = call i32 @perror(ptr noundef @.str.6)
%75 = call i32 @exit(i32 noundef 1) #3
unreachable
76: ; preds = %67
%77 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0
%78 = call i64 @strcmp(ptr noundef %77, ptr noundef @.str.5)
%79 = icmp eq i64 %78, 0
br i1 %79, label %80, label %81
80: ; preds = %76
br label %94
81: ; preds = %76
%82 = load i32, ptr %9, align 4
%83 = icmp eq i32 %82, 0
br i1 %83, label %84, label %87
84: ; preds = %81
%85 = call i32 @perror(ptr noundef @.str.7)
%86 = call i32 @exit(i32 noundef 1) #3
unreachable
87: ; preds = %81
%88 = load i32, ptr %9, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 %89
store i8 0, ptr %90, align 1
%91 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %91)
br label %93
93: ; preds = %87
br label %45
94: ; preds = %80, %66
%95 = load i32, ptr %7, align 4
%96 = call i32 @close(i32 noundef %95)
%97 = icmp eq i32 %96, -1
br i1 %97, label %98, label %101
98: ; preds = %94
%99 = call i32 @perror(ptr noundef @.str.9)
%100 = call i32 @exit(i32 noundef 1) #3
unreachable
101: ; preds = %94
%102 = call i32 @puts(ptr noundef @.str.10)
ret i32 0
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i64 @inet_aton(ptr noundef, ptr noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp52j7p0pf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
@.str = private unnamed_addr constant [19 x i8] c"Please use 3 args\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"inet_aton.\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Connecting\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"You would puts: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [15 x i8] c"Send to Server\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"exit\0A\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"Receive from Server\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"Note: Sorry,server closed.\0A\00", align 1
@.str.8 = private unnamed_addr constant [23 x i8] c"Server send to you: %s\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"Close\00", align 1
@.str.10 = private unnamed_addr constant [27 x i8] c"TCP Client has been closed\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 %struct.sockaddr_in, align 4
%7 = alloca i32, align 4
%8 = alloca [1025 x i8], align 16
%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
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 3
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = load i32, ptr @AF_INET, align 4
%17 = load i32, ptr @SOCK_STREAM, align 4
%18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0)
store i32 %18, ptr %7, align 4
%19 = call i32 @bzero(ptr noundef %6, i32 noundef 12)
%20 = load i32, ptr @AF_INET, align 4
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %20, ptr %21, align 4
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 2
%24 = load ptr, ptr %23, align 8
%25 = call i32 @atoi(ptr noundef %24)
%26 = call i32 @htons(i32 noundef %25)
%27 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
store i32 %26, ptr %27, align 4
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 1
%30 = load ptr, ptr %29, align 8
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
%32 = call i64 @inet_aton(ptr noundef %30, ptr noundef %31)
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %15
%35 = call i32 @perror(ptr noundef @.str.1)
%36 = call i32 @exit(i32 noundef 1) #3
unreachable
37: ; preds = %15
%38 = load i32, ptr %7, align 4
%39 = call i64 @connect(i32 noundef %38, ptr noundef %6, i32 noundef 12)
%40 = icmp slt i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = call i32 @perror(ptr noundef @.str.2)
%43 = call i32 @exit(i32 noundef 1) #3
unreachable
44: ; preds = %37
br label %45
45: ; preds = %93, %44
%46 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0
%47 = call i32 @memset(ptr noundef %46, i32 noundef 0, i32 noundef 1025)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%49 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0
%50 = load i32, ptr @stdin, align 4
%51 = call i32 @fgets(ptr noundef %49, i32 noundef 1025, i32 noundef %50)
%52 = load i32, ptr %7, align 4
%53 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0
%54 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0
%55 = call i32 @strlen(ptr noundef %54)
%56 = call i32 @send(i32 noundef %52, ptr noundef %53, i32 noundef %55, i32 noundef 0)
store i32 %56, ptr %9, align 4
%57 = load i32, ptr %9, align 4
%58 = icmp eq i32 %57, -1
br i1 %58, label %59, label %62
59: ; preds = %45
%60 = call i32 @perror(ptr noundef @.str.4)
%61 = call i32 @exit(i32 noundef 1) #3
unreachable
62: ; preds = %45
%63 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0
%64 = call i64 @strcmp(ptr noundef %63, ptr noundef @.str.5)
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %67
66: ; preds = %62
br label %94
67: ; preds = %62
%68 = load i32, ptr %7, align 4
%69 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0
%70 = call i32 @recv(i32 noundef %68, ptr noundef %69, i32 noundef 1024, i32 noundef 0)
store i32 %70, ptr %9, align 4
%71 = load i32, ptr %9, align 4
%72 = icmp eq i32 %71, -1
br i1 %72, label %73, label %76
73: ; preds = %67
%74 = call i32 @perror(ptr noundef @.str.6)
%75 = call i32 @exit(i32 noundef 1) #3
unreachable
76: ; preds = %67
%77 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0
%78 = call i64 @strcmp(ptr noundef %77, ptr noundef @.str.5)
%79 = icmp eq i64 %78, 0
br i1 %79, label %80, label %81
80: ; preds = %76
br label %94
81: ; preds = %76
%82 = load i32, ptr %9, align 4
%83 = icmp eq i32 %82, 0
br i1 %83, label %84, label %87
84: ; preds = %81
%85 = call i32 @perror(ptr noundef @.str.7)
%86 = call i32 @exit(i32 noundef 1) #3
unreachable
87: ; preds = %81
%88 = load i32, ptr %9, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 %89
store i8 0, ptr %90, align 1
%91 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %91)
br label %93
93: ; preds = %87
br label %45
94: ; preds = %80, %66
%95 = load i32, ptr %7, align 4
%96 = call i32 @close(i32 noundef %95)
%97 = icmp eq i32 %96, -1
br i1 %97, label %98, label %101
98: ; preds = %94
%99 = call i32 @perror(ptr noundef @.str.9)
%100 = call i32 @exit(i32 noundef 1) #3
unreachable
101: ; preds = %94
%102 = call i32 @puts(ptr noundef @.str.10)
ret i32 0
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i64 @inet_aton(ptr noundef, ptr noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4togmlga.c'
source_filename = "/tmp/tmp4togmlga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_fpconv_dtoa(double noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca [18 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store double %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%12 = load double, ptr %4, align 8
%13 = call i32 @get_dbits(double noundef %12)
%14 = sext i32 %13 to i64
%15 = and i64 %14, -9223372036854775808
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %22
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 0
store i8 45, ptr %19, align 1
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
store i32 1, ptr %8, align 4
br label %22
22: ; preds = %17, %2
%23 = load double, ptr %4, align 8
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = call i32 @filter_special(double noundef %23, ptr noundef %27)
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %22
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %32, %33
store i32 %34, ptr %3, align 4
br label %53
35: ; preds = %22
store i32 0, ptr %10, align 4
%36 = load double, ptr %4, align 8
%37 = getelementptr inbounds [18 x i8], ptr %6, i64 0, i64 0
%38 = call i32 @_fpconv_grisu2(double noundef %36, ptr noundef %37, ptr noundef %10)
store i32 %38, ptr %11, align 4
%39 = getelementptr inbounds [18 x i8], ptr %6, i64 0, i64 0
%40 = load i32, ptr %11, align 4
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i32, ptr %10, align 4
%46 = load i32, ptr %8, align 4
%47 = call i64 @emit_digits(ptr noundef %39, i32 noundef %40, ptr noundef %44, i32 noundef %45, i32 noundef %46)
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = add nsw i64 %49, %47
%51 = trunc i64 %50 to i32
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
store i32 %52, ptr %3, align 4
br label %53
53: ; preds = %35, %31
%54 = load i32, ptr %3, align 4
ret i32 %54
}
declare i32 @get_dbits(double noundef) #1
declare i32 @filter_special(double noundef, ptr noundef) #1
declare i32 @_fpconv_grisu2(double noundef, ptr noundef, ptr noundef) #1
declare i64 @emit_digits(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4togmlga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_fpconv_dtoa(double noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca [18 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store double %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%12 = load double, ptr %4, align 8
%13 = call i32 @get_dbits(double noundef %12)
%14 = sext i32 %13 to i64
%15 = and i64 %14, -9223372036854775808
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %22
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 0
store i8 45, ptr %19, align 1
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
store i32 1, ptr %8, align 4
br label %22
22: ; preds = %17, %2
%23 = load double, ptr %4, align 8
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = call i32 @filter_special(double noundef %23, ptr noundef %27)
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %22
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %32, %33
store i32 %34, ptr %3, align 4
br label %53
35: ; preds = %22
store i32 0, ptr %10, align 4
%36 = load double, ptr %4, align 8
%37 = getelementptr inbounds [18 x i8], ptr %6, i64 0, i64 0
%38 = call i32 @_fpconv_grisu2(double noundef %36, ptr noundef %37, ptr noundef %10)
store i32 %38, ptr %11, align 4
%39 = getelementptr inbounds [18 x i8], ptr %6, i64 0, i64 0
%40 = load i32, ptr %11, align 4
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i32, ptr %10, align 4
%46 = load i32, ptr %8, align 4
%47 = call i64 @emit_digits(ptr noundef %39, i32 noundef %40, ptr noundef %44, i32 noundef %45, i32 noundef %46)
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = add nsw i64 %49, %47
%51 = trunc i64 %50 to i32
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
store i32 %52, ptr %3, align 4
br label %53
53: ; preds = %35, %31
%54 = load i32, ptr %3, align 4
ret i32 %54
}
declare i32 @get_dbits(double noundef) #1
declare i32 @filter_special(double noundef, ptr noundef) #1
declare i32 @_fpconv_grisu2(double noundef, ptr noundef, ptr noundef) #1
declare i64 @emit_digits(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp23y72dtc.c'
source_filename = "/tmp/tmp23y72dtc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"idl_pvwave\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c" ;comment\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"comment\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c";comment\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_idl_pvwave_comment_entities() #0 {
%1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @test_parser_verify_entity(i32 noundef %1, ptr noundef @.str.2, ptr noundef @.str.3)
%3 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1)
%4 = call i32 @test_parser_verify_entity(i32 noundef %3, ptr noundef @.str.2, ptr noundef @.str.3)
ret void
}
declare i32 @test_parser_verify_entity(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @test_parser_sourcefile(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/tmp23y72dtc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"idl_pvwave\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c" ;comment\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"comment\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c";comment\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_idl_pvwave_comment_entities() #0 {
%1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @test_parser_verify_entity(i32 noundef %1, ptr noundef @.str.2, ptr noundef @.str.3)
%3 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1)
%4 = call i32 @test_parser_verify_entity(i32 noundef %3, ptr noundef @.str.2, ptr noundef @.str.3)
ret void
}
declare i32 @test_parser_verify_entity(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @test_parser_sourcefile(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/tmp7q4yyvv9.c'
source_filename = "/tmp/tmp7q4yyvv9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strstrcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %9, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %11, align 8
%13 = call i32 @strcmp(ptr noundef %10, ptr noundef %12)
ret i32 %13
}
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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7q4yyvv9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strstrcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %9, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %11, align 8
%13 = call i32 @strcmp(ptr noundef %10, ptr noundef %12)
ret i32 %13
}
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"}
|
; ModuleID = '/tmp/tmptnn38es3.c'
source_filename = "/tmp/tmptnn38es3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__rcosd(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
store float %0, ptr %2, align 4
store float 3.600000e+02, ptr %3, align 4
%4 = load float, ptr %2, align 4
%5 = load float, ptr %3, align 4
%6 = call float @__rmod(float noundef %4, float noundef %5)
%7 = fmul float 0x3F91DF46A0000000, %6
%8 = call float @cosf(float noundef %7) #3
ret float %8
}
; Function Attrs: nounwind
declare float @cosf(float noundef) #1
declare float @__rmod(float noundef, 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptnn38es3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__rcosd(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
store float %0, ptr %2, align 4
store float 3.600000e+02, ptr %3, align 4
%4 = load float, ptr %2, align 4
%5 = load float, ptr %3, align 4
%6 = call float @__rmod(float noundef %4, float noundef %5)
%7 = fmul float 0x3F91DF46A0000000, %6
%8 = call float @cosf(float noundef %7) #3
ret float %8
}
; Function Attrs: nounwind
declare float @cosf(float noundef) #1
declare float @__rmod(float noundef, 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-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"}
|
; ModuleID = '/tmp/tmp4wbbm_fu.c'
source_filename = "/tmp/tmp4wbbm_fu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tpSDKDestory() #0 {
%1 = call i32 (...) @MQTTDestroy()
ret void
}
declare i32 @MQTTDestroy(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4wbbm_fu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tpSDKDestory() #0 {
%1 = call i32 (...) @MQTTDestroy()
ret void
}
declare i32 @MQTTDestroy(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqup99e79.c'
source_filename = "/tmp/tmpqup99e79.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stage_cu() #0 {
%1 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 0)
%2 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1341390848)
%3 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 4)
%4 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098054657)
%5 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 8)
%6 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef 1966080)
%7 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 12)
%8 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1342046163)
%9 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 16)
%10 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1065349886)
%11 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 20)
%12 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1082064896)
%13 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 0)
%14 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 33)
%15 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 21)
%16 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 12)
%17 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 23)
%18 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
%19 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 16)
%20 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 28)
%21 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 34)
%22 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 4)
%23 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 40)
%24 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
%25 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 32)
%26 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 37)
%27 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 22)
%28 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 0)
%29 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 0)
%30 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
ret void
}
declare i32 @Xil_Out32(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/tmpqup99e79.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stage_cu() #0 {
%1 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 0)
%2 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1341390848)
%3 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 4)
%4 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098054657)
%5 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 8)
%6 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef 1966080)
%7 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 12)
%8 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1342046163)
%9 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 16)
%10 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1065349886)
%11 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 20)
%12 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1082064896)
%13 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 0)
%14 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 33)
%15 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 21)
%16 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 12)
%17 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 23)
%18 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
%19 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 16)
%20 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 28)
%21 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 34)
%22 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 4)
%23 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 40)
%24 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
%25 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 32)
%26 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 37)
%27 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 22)
%28 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 0)
%29 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 0)
%30 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
ret void
}
declare i32 @Xil_Out32(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/tmppsdwjx5k.c'
source_filename = "/tmp/tmppsdwjx5k.c"
target datalayout = "e-m:e-p270: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/tmppsdwjx5k.c"
target datalayout = "e-m:e-p270: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/tmpzqtr774r.c'
source_filename = "/tmp/tmpzqtr774r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %6, ptr %2, align 4
%7 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %0
store i32 1, ptr %2, align 4
br label %11
11: ; preds = %10, %0
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 1
br i1 %13, label %14, label %15
14: ; preds = %11
store i32 1, ptr %3, align 4
br label %15
15: ; preds = %14, %11
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 1
%19 = trunc i64 %18 to i32
%20 = call i64 @alloca(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %4, align 8
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 1
%25 = trunc i64 %24 to i32
%26 = call i64 @alloca(i32 noundef %25)
%27 = inttoptr i64 %26 to ptr
store ptr %27, ptr %5, align 8
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %2, align 4
%30 = sub nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %28, i64 %31
store i8 0, ptr %32, align 1
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %3, align 4
%35 = sub nsw i32 %34, 1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %33, i64 %36
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %5, align 8
%40 = call i32 @cstrpbrk(ptr noundef %38, ptr noundef %39)
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
declare i64 @alloca(i32 noundef) #1
declare i32 @cstrpbrk(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/tmpzqtr774r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %6, ptr %2, align 4
%7 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %0
store i32 1, ptr %2, align 4
br label %11
11: ; preds = %10, %0
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 1
br i1 %13, label %14, label %15
14: ; preds = %11
store i32 1, ptr %3, align 4
br label %15
15: ; preds = %14, %11
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 1
%19 = trunc i64 %18 to i32
%20 = call i64 @alloca(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %4, align 8
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 1
%25 = trunc i64 %24 to i32
%26 = call i64 @alloca(i32 noundef %25)
%27 = inttoptr i64 %26 to ptr
store ptr %27, ptr %5, align 8
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %2, align 4
%30 = sub nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %28, i64 %31
store i8 0, ptr %32, align 1
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %3, align 4
%35 = sub nsw i32 %34, 1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %33, i64 %36
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %5, align 8
%40 = call i32 @cstrpbrk(ptr noundef %38, ptr noundef %39)
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
declare i64 @alloca(i32 noundef) #1
declare i32 @cstrpbrk(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/tmphp3a80v9.c'
source_filename = "/tmp/tmphp3a80v9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @find()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @find(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphp3a80v9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @find()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @find(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8i9apriq.c'
source_filename = "/tmp/tmp8i9apriq.c"
target datalayout = "e-m:e-p270: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/tmp8i9apriq.c"
target datalayout = "e-m:e-p270: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/tmpdgb12t9r.c'
source_filename = "/tmp/tmpdgb12t9r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lafe_pathmatch(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
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %15, label %10
10: ; preds = %3
%11 = load ptr, ptr %5, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %26
15: ; preds = %10, %3
%16 = load ptr, ptr %6, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %23, label %18
18: ; preds = %15
%19 = load ptr, ptr %6, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 0
br label %23
23: ; preds = %18, %15
%24 = phi i1 [ true, %15 ], [ %22, %18 ]
%25 = zext i1 %24 to i32
store i32 %25, ptr %4, align 4
br label %118
26: ; preds = %10
%27 = load ptr, ptr %5, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 94
br i1 %30, label %31, label %36
31: ; preds = %26
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %5, align 8
%34 = load i32, ptr %7, align 4
%35 = and i32 %34, -2
store i32 %35, ptr %7, align 4
br label %36
36: ; preds = %31, %26
%37 = load ptr, ptr %5, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 47
br i1 %40, label %41, label %47
41: ; preds = %36
%42 = load ptr, ptr %6, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 47
br i1 %45, label %46, label %47
46: ; preds = %41
store i32 0, ptr %4, align 4
br label %118
47: ; preds = %41, %36
%48 = load ptr, ptr %5, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 42
br i1 %51, label %62, label %52
52: ; preds = %47
%53 = load ptr, ptr %5, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 47
br i1 %56, label %62, label %57
57: ; preds = %52
%58 = load ptr, ptr %5, align 8
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 47
br i1 %61, label %62, label %85
62: ; preds = %57, %52, %47
br label %63
63: ; preds = %68, %62
%64 = load ptr, ptr %5, align 8
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 47
br i1 %67, label %68, label %71
68: ; preds = %63
%69 = load ptr, ptr %5, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %5, align 8
br label %63, !llvm.loop !6
71: ; preds = %63
br label %72
72: ; preds = %77, %71
%73 = load ptr, ptr %6, align 8
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp eq i32 %75, 47
br i1 %76, label %77, label %80
77: ; preds = %72
%78 = load ptr, ptr %6, align 8
%79 = getelementptr inbounds i8, ptr %78, i32 1
store ptr %79, ptr %6, align 8
br label %72, !llvm.loop !8
80: ; preds = %72
%81 = load ptr, ptr %5, align 8
%82 = load ptr, ptr %6, align 8
%83 = load i32, ptr %7, align 4
%84 = call i32 @pm(ptr noundef %81, ptr noundef %82, i32 noundef %83)
store i32 %84, ptr %4, align 4
br label %118
85: ; preds = %57
%86 = load i32, ptr %7, align 4
%87 = and i32 %86, 1
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %113
89: ; preds = %85
br label %90
90: ; preds = %109, %89
%91 = load ptr, ptr %6, align 8
%92 = icmp ne ptr %91, null
br i1 %92, label %93, label %112
93: ; preds = %90
%94 = load ptr, ptr %6, align 8
%95 = load i8, ptr %94, align 1
%96 = sext i8 %95 to i32
%97 = icmp eq i32 %96, 47
br i1 %97, label %98, label %101
98: ; preds = %93
%99 = load ptr, ptr %6, align 8
%100 = getelementptr inbounds i8, ptr %99, i32 1
store ptr %100, ptr %6, align 8
br label %101
101: ; preds = %98, %93
%102 = load ptr, ptr %5, align 8
%103 = load ptr, ptr %6, align 8
%104 = load i32, ptr %7, align 4
%105 = call i32 @pm(ptr noundef %102, ptr noundef %103, i32 noundef %104)
%106 = icmp ne i32 %105, 0
br i1 %106, label %107, label %108
107: ; preds = %101
store i32 1, ptr %4, align 4
br label %118
108: ; preds = %101
br label %109
109: ; preds = %108
%110 = load ptr, ptr %6, align 8
%111 = call ptr @strchr(ptr noundef %110, i8 noundef signext 47)
store ptr %111, ptr %6, align 8
br label %90, !llvm.loop !9
112: ; preds = %90
store i32 0, ptr %4, align 4
br label %118
113: ; preds = %85
%114 = load ptr, ptr %5, align 8
%115 = load ptr, ptr %6, align 8
%116 = load i32, ptr %7, align 4
%117 = call i32 @pm(ptr noundef %114, ptr noundef %115, i32 noundef %116)
store i32 %117, ptr %4, align 4
br label %118
118: ; preds = %113, %112, %107, %80, %46, %23
%119 = load i32, ptr %4, align 4
ret i32 %119
}
declare i32 @pm(ptr noundef, ptr noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdgb12t9r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lafe_pathmatch(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
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %15, label %10
10: ; preds = %3
%11 = load ptr, ptr %5, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %26
15: ; preds = %10, %3
%16 = load ptr, ptr %6, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %23, label %18
18: ; preds = %15
%19 = load ptr, ptr %6, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 0
br label %23
23: ; preds = %18, %15
%24 = phi i1 [ true, %15 ], [ %22, %18 ]
%25 = zext i1 %24 to i32
store i32 %25, ptr %4, align 4
br label %125
26: ; preds = %10
%27 = load ptr, ptr %5, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 94
br i1 %30, label %31, label %36
31: ; preds = %26
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %5, align 8
%34 = load i32, ptr %7, align 4
%35 = and i32 %34, -2
store i32 %35, ptr %7, align 4
br label %36
36: ; preds = %31, %26
%37 = load ptr, ptr %5, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 47
br i1 %40, label %41, label %47
41: ; preds = %36
%42 = load ptr, ptr %6, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 47
br i1 %45, label %46, label %47
46: ; preds = %41
store i32 0, ptr %4, align 4
br label %125
47: ; preds = %41, %36
%48 = load ptr, ptr %5, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 42
br i1 %51, label %62, label %52
52: ; preds = %47
%53 = load ptr, ptr %5, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 47
br i1 %56, label %62, label %57
57: ; preds = %52
%58 = load ptr, ptr %5, align 8
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 47
br i1 %61, label %62, label %91
62: ; preds = %57, %52, %47
%63 = load ptr, ptr %5, align 8
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 47
br i1 %66, label %.lr.ph2, label %74
.lr.ph2: ; preds = %62
br label %67
67: ; preds = %.lr.ph2, %67
%68 = load ptr, ptr %5, align 8
%69 = getelementptr inbounds i8, ptr %68, i32 1
store ptr %69, ptr %5, align 8
%70 = load ptr, ptr %5, align 8
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 47
br i1 %73, label %67, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %67
br label %74
74: ; preds = %._crit_edge3, %62
%75 = load ptr, ptr %6, align 8
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 47
br i1 %78, label %.lr.ph5, label %86
.lr.ph5: ; preds = %74
br label %79
79: ; preds = %.lr.ph5, %79
%80 = load ptr, ptr %6, align 8
%81 = getelementptr inbounds i8, ptr %80, i32 1
store ptr %81, ptr %6, align 8
%82 = load ptr, ptr %6, align 8
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp eq i32 %84, 47
br i1 %85, label %79, label %._crit_edge6, !llvm.loop !8
._crit_edge6: ; preds = %79
br label %86
86: ; preds = %._crit_edge6, %74
%87 = load ptr, ptr %5, align 8
%88 = load ptr, ptr %6, align 8
%89 = load i32, ptr %7, align 4
%90 = call i32 @pm(ptr noundef %87, ptr noundef %88, i32 noundef %89)
store i32 %90, ptr %4, align 4
br label %125
91: ; preds = %57
%92 = load i32, ptr %7, align 4
%93 = and i32 %92, 1
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %120
95: ; preds = %91
%96 = load ptr, ptr %6, align 8
%97 = icmp ne ptr %96, null
br i1 %97, label %.lr.ph, label %119
.lr.ph: ; preds = %95
br label %98
98: ; preds = %.lr.ph, %114
%99 = load ptr, ptr %6, align 8
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp eq i32 %101, 47
br i1 %102, label %103, label %106
103: ; preds = %98
%104 = load ptr, ptr %6, align 8
%105 = getelementptr inbounds i8, ptr %104, i32 1
store ptr %105, ptr %6, align 8
br label %106
106: ; preds = %103, %98
%107 = load ptr, ptr %5, align 8
%108 = load ptr, ptr %6, align 8
%109 = load i32, ptr %7, align 4
%110 = call i32 @pm(ptr noundef %107, ptr noundef %108, i32 noundef %109)
%111 = icmp ne i32 %110, 0
br i1 %111, label %112, label %113
112: ; preds = %106
store i32 1, ptr %4, align 4
br label %125
113: ; preds = %106
br label %114
114: ; preds = %113
%115 = load ptr, ptr %6, align 8
%116 = call ptr @strchr(ptr noundef %115, i8 noundef signext 47)
store ptr %116, ptr %6, align 8
%117 = load ptr, ptr %6, align 8
%118 = icmp ne ptr %117, null
br i1 %118, label %98, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %114
br label %119
119: ; preds = %._crit_edge, %95
store i32 0, ptr %4, align 4
br label %125
120: ; preds = %91
%121 = load ptr, ptr %5, align 8
%122 = load ptr, ptr %6, align 8
%123 = load i32, ptr %7, align 4
%124 = call i32 @pm(ptr noundef %121, ptr noundef %122, i32 noundef %123)
store i32 %124, ptr %4, align 4
br label %125
125: ; preds = %120, %119, %112, %86, %46, %23
%126 = load i32, ptr %4, align 4
ret i32 %126
}
declare i32 @pm(ptr noundef, ptr noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp391gavsh.c'
source_filename = "/tmp/tmp391gavsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ctime_r(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca %struct.tm, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @__localtime_r(ptr noundef %6, ptr noundef %5)
%8 = load ptr, ptr %4, align 8
%9 = call ptr @__asctime_r(i32 noundef %7, ptr noundef %8)
ret ptr %9
}
declare ptr @__asctime_r(i32 noundef, ptr noundef) #1
declare i32 @__localtime_r(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/tmp391gavsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ctime_r(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca %struct.tm, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @__localtime_r(ptr noundef %6, ptr noundef %5)
%8 = load ptr, ptr %4, align 8
%9 = call ptr @__asctime_r(i32 noundef %7, ptr noundef %8)
ret ptr %9
}
declare ptr @__asctime_r(i32 noundef, ptr noundef) #1
declare i32 @__localtime_r(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/tmp0bggv7du.c'
source_filename = "/tmp/tmp0bggv7du.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @finhn(ptr noundef %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
br label %5
5: ; preds = %27, %1
%6 = load ptr, ptr %3, align 8
%7 = call zeroext i8 @fgetc(ptr noundef %6)
store i8 %7, ptr %4, align 1
br label %8
8: ; preds = %5
%9 = load i8, ptr %4, align 1
%10 = zext i8 %9 to i32
%11 = icmp sge i32 %10, 48
br i1 %11, label %12, label %16
12: ; preds = %8
%13 = load i8, ptr %4, align 1
%14 = zext i8 %13 to i32
%15 = icmp sle i32 %14, 57
br i1 %15, label %27, label %16
16: ; preds = %12, %8
%17 = load i8, ptr %4, align 1
%18 = zext i8 %17 to i32
%19 = icmp sge i32 %18, 65
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = load i8, ptr %4, align 1
%22 = zext i8 %21 to i32
%23 = icmp sle i32 %22, 70
br label %24
24: ; preds = %20, %16
%25 = phi i1 [ false, %16 ], [ %23, %20 ]
%26 = xor i1 %25, true
br label %27
27: ; preds = %24, %12
%28 = phi i1 [ false, %12 ], [ %26, %24 ]
br i1 %28, label %5, label %29, !llvm.loop !6
29: ; preds = %27
%30 = load i8, ptr %4, align 1
%31 = zext i8 %30 to i32
%32 = icmp sle i32 %31, 57
br i1 %32, label %33, label %38
33: ; preds = %29
%34 = load i8, ptr %4, align 1
%35 = zext i8 %34 to i32
%36 = sub nsw i32 %35, 48
%37 = trunc i32 %36 to i8
store i8 %37, ptr %2, align 1
br label %44
38: ; preds = %29
%39 = load i8, ptr %4, align 1
%40 = zext i8 %39 to i32
%41 = add nsw i32 %40, 10
%42 = sub nsw i32 %41, 65
%43 = trunc i32 %42 to i8
store i8 %43, ptr %2, align 1
br label %44
44: ; preds = %38, %33
%45 = load i8, ptr %2, align 1
ret i8 %45
}
declare zeroext i8 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0bggv7du.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @finhn(ptr noundef %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
br label %5
5: ; preds = %27, %1
%6 = load ptr, ptr %3, align 8
%7 = call zeroext i8 @fgetc(ptr noundef %6)
store i8 %7, ptr %4, align 1
br label %8
8: ; preds = %5
%9 = load i8, ptr %4, align 1
%10 = zext i8 %9 to i32
%11 = icmp sge i32 %10, 48
br i1 %11, label %12, label %16
12: ; preds = %8
%13 = load i8, ptr %4, align 1
%14 = zext i8 %13 to i32
%15 = icmp sle i32 %14, 57
br i1 %15, label %27, label %16
16: ; preds = %12, %8
%17 = load i8, ptr %4, align 1
%18 = zext i8 %17 to i32
%19 = icmp sge i32 %18, 65
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = load i8, ptr %4, align 1
%22 = zext i8 %21 to i32
%23 = icmp sle i32 %22, 70
br label %24
24: ; preds = %20, %16
%25 = phi i1 [ false, %16 ], [ %23, %20 ]
%26 = xor i1 %25, true
br label %27
27: ; preds = %24, %12
%28 = phi i1 [ false, %12 ], [ %26, %24 ]
br i1 %28, label %5, label %29, !llvm.loop !6
29: ; preds = %27
%30 = load i8, ptr %4, align 1
%31 = zext i8 %30 to i32
%32 = icmp sle i32 %31, 57
br i1 %32, label %33, label %38
33: ; preds = %29
%34 = load i8, ptr %4, align 1
%35 = zext i8 %34 to i32
%36 = sub nsw i32 %35, 48
%37 = trunc i32 %36 to i8
store i8 %37, ptr %2, align 1
br label %44
38: ; preds = %29
%39 = load i8, ptr %4, align 1
%40 = zext i8 %39 to i32
%41 = add nsw i32 %40, 10
%42 = sub nsw i32 %41, 65
%43 = trunc i32 %42 to i8
store i8 %43, ptr %2, align 1
br label %44
44: ; preds = %38, %33
%45 = load i8, ptr %2, align 1
ret i8 %45
}
declare zeroext i8 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpj65snedg.c'
source_filename = "/tmp/tmpj65snedg.c"
target datalayout = "e-m:e-p270: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.test_sorted_empty_array.a = private unnamed_addr constant [5 x i32] [i32 1, i32 5, i32 19, i32 22, i32 35], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_sorted_empty_array() #0 {
%1 = alloca [5 x i32], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_sorted_empty_array.a, i64 20, i1 false)
%2 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @smallest_diff_sorted(ptr noundef %2, i32 noundef 5, i32 noundef 0, i32 noundef 0)
%4 = icmp eq i32 -1, %3
%5 = zext i1 %4 to i32
ret i32 %5
}
; 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 @smallest_diff_sorted(ptr noundef, i32 noundef, i32 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/tmpj65snedg.c"
target datalayout = "e-m:e-p270: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.test_sorted_empty_array.a = private unnamed_addr constant [5 x i32] [i32 1, i32 5, i32 19, i32 22, i32 35], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_sorted_empty_array() #0 {
%1 = alloca [5 x i32], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_sorted_empty_array.a, i64 20, i1 false)
%2 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @smallest_diff_sorted(ptr noundef %2, i32 noundef 5, i32 noundef 0, i32 noundef 0)
%4 = icmp eq i32 -1, %3
%5 = zext i1 %4 to i32
ret i32 %5
}
; 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 @smallest_diff_sorted(ptr noundef, i32 noundef, i32 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/tmp5yf9fg5c.c'
source_filename = "/tmp/tmp5yf9fg5c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = 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/tmp5yf9fg5c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = 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/tmpd78ewr6q.c'
source_filename = "/tmp/tmpd78ewr6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EEXIST = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd78ewr6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EEXIST = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcnbi66el.c'
source_filename = "/tmp/tmpcnbi66el.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dist_4v_unordered_v4(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12) #0 {
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca ptr, align 8
%25 = alloca i32, align 4
%26 = alloca ptr, align 8
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i8, align 1
%34 = alloca i8, align 1
%35 = alloca i8, align 1
%36 = alloca i8, align 1
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca i32, align 4
%46 = alloca i32, align 4
%47 = alloca i32, align 4
store ptr %0, ptr %14, align 8
store ptr %1, ptr %15, align 8
store ptr %2, ptr %16, align 8
store i32 %3, ptr %17, align 4
store i32 %4, ptr %18, align 4
store ptr %5, ptr %19, align 8
store ptr %6, ptr %20, align 8
store i32 %7, ptr %21, align 4
store i32 %8, ptr %22, align 4
store i32 %9, ptr %23, align 4
store ptr %10, ptr %24, align 8
store i32 %11, ptr %25, align 4
store ptr %12, ptr %26, align 8
store i32 0, ptr %43, align 4
%48 = load ptr, ptr %15, align 8
%49 = load i32, ptr %18, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
%52 = load i32, ptr %51, align 4
%53 = load i32, ptr %22, align 4
%54 = add nsw i32 %52, %53
store i32 %54, ptr %45, align 4
%55 = load ptr, ptr %15, align 8
%56 = getelementptr inbounds i32, ptr %55, i64 1
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr %22, align 4
%59 = sub nsw i32 %57, %58
store i32 %59, ptr %46, align 4
%60 = load ptr, ptr %14, align 8
%61 = load i32, ptr %17, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds ptr, ptr %60, i64 %62
%64 = load ptr, ptr %63, align 8
%65 = getelementptr inbounds i32, ptr %64, i64 1
%66 = load i32, ptr %65, align 4
%67 = load i32, ptr %46, align 4
%68 = icmp slt i32 %66, %67
%69 = zext i1 %68 to i32
%70 = load ptr, ptr %14, align 8
%71 = load i32, ptr %17, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds ptr, ptr %70, i64 %72
%74 = load ptr, ptr %73, align 8
%75 = getelementptr inbounds i32, ptr %74, i64 2
%76 = load i32, ptr %75, align 4
%77 = load i32, ptr %46, align 4
%78 = icmp slt i32 %76, %77
%79 = zext i1 %78 to i32
%80 = or i32 %69, %79
%81 = load ptr, ptr %14, align 8
%82 = load i32, ptr %17, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds ptr, ptr %81, i64 %83
%85 = load ptr, ptr %84, align 8
%86 = getelementptr inbounds i32, ptr %85, i64 3
%87 = load i32, ptr %86, align 4
%88 = load i32, ptr %46, align 4
%89 = icmp slt i32 %87, %88
%90 = zext i1 %89 to i32
%91 = or i32 %80, %90
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %96
93: ; preds = %13
%94 = load i32, ptr %17, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %47, align 4
br label %164
96: ; preds = %13
store i32 1, ptr %47, align 4
%97 = load ptr, ptr %14, align 8
%98 = load i32, ptr %47, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds ptr, ptr %97, i64 %99
%101 = load ptr, ptr %100, align 8
%102 = getelementptr inbounds i32, ptr %101, i64 1
%103 = load i32, ptr %102, align 4
store i32 %103, ptr %29, align 4
%104 = load ptr, ptr %14, align 8
%105 = load i32, ptr %47, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds ptr, ptr %104, i64 %106
%108 = load ptr, ptr %107, align 8
%109 = getelementptr inbounds i32, ptr %108, i64 2
%110 = load i32, ptr %109, align 4
store i32 %110, ptr %30, align 4
%111 = load ptr, ptr %14, align 8
%112 = load i32, ptr %47, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds ptr, ptr %111, i64 %113
%115 = load ptr, ptr %114, align 8
%116 = getelementptr inbounds i32, ptr %115, i64 3
%117 = load i32, ptr %116, align 4
store i32 %117, ptr %31, align 4
br label %118
118: ; preds = %139, %96
%119 = load i32, ptr %29, align 4
%120 = load i32, ptr %46, align 4
%121 = icmp slt i32 %119, %120
%122 = zext i1 %121 to i32
%123 = load i32, ptr %30, align 4
%124 = load i32, ptr %46, align 4
%125 = icmp slt i32 %123, %124
%126 = zext i1 %125 to i32
%127 = or i32 %122, %126
%128 = load i32, ptr %31, align 4
%129 = load i32, ptr %46, align 4
%130 = icmp slt i32 %128, %129
%131 = zext i1 %130 to i32
%132 = or i32 %127, %131
%133 = load i32, ptr %47, align 4
%134 = load i32, ptr %17, align 4
%135 = icmp slt i32 %133, %134
%136 = zext i1 %135 to i32
%137 = and i32 %132, %136
%138 = icmp ne i32 %137, 0
br i1 %138, label %139, label %163
139: ; preds = %118
%140 = load i32, ptr %47, align 4
%141 = add nsw i32 %140, 1
store i32 %141, ptr %47, align 4
%142 = load ptr, ptr %14, align 8
%143 = load i32, ptr %47, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds ptr, ptr %142, i64 %144
%146 = load ptr, ptr %145, align 8
%147 = getelementptr inbounds i32, ptr %146, i64 1
%148 = load i32, ptr %147, align 4
store i32 %148, ptr %29, align 4
%149 = load ptr, ptr %14, align 8
%150 = load i32, ptr %47, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds ptr, ptr %149, i64 %151
%153 = load ptr, ptr %152, align 8
%154 = getelementptr inbounds i32, ptr %153, i64 2
%155 = load i32, ptr %154, align 4
store i32 %155, ptr %30, align 4
%156 = load ptr, ptr %14, align 8
%157 = load i32, ptr %47, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds ptr, ptr %156, i64 %158
%160 = load ptr, ptr %159, align 8
%161 = getelementptr inbounds i32, ptr %160, i64 3
%162 = load i32, ptr %161, align 4
store i32 %162, ptr %31, align 4
br label %118, !llvm.loop !6
163: ; preds = %118
br label %164
164: ; preds = %163, %93
%165 = load i32, ptr %47, align 4
%166 = sub nsw i32 %165, 1
store i32 %166, ptr %27, align 4
%167 = load ptr, ptr %14, align 8
%168 = getelementptr inbounds ptr, ptr %167, i64 1
%169 = load ptr, ptr %168, align 8
%170 = getelementptr inbounds i32, ptr %169, i64 1
%171 = load i32, ptr %170, align 4
store i32 %171, ptr %29, align 4
%172 = load ptr, ptr %14, align 8
%173 = getelementptr inbounds ptr, ptr %172, i64 1
%174 = load ptr, ptr %173, align 8
%175 = getelementptr inbounds i32, ptr %174, i64 2
%176 = load i32, ptr %175, align 4
store i32 %176, ptr %30, align 4
%177 = load ptr, ptr %14, align 8
%178 = getelementptr inbounds ptr, ptr %177, i64 1
%179 = load ptr, ptr %178, align 8
%180 = getelementptr inbounds i32, ptr %179, i64 3
%181 = load i32, ptr %180, align 4
store i32 %181, ptr %31, align 4
br label %182
182: ; preds = %499, %164
%183 = load i32, ptr %27, align 4
%184 = load i32, ptr %17, align 4
%185 = icmp slt i32 %183, %184
%186 = zext i1 %185 to i32
%187 = load i32, ptr %43, align 4
%188 = load i32, ptr %23, align 4
%189 = icmp slt i32 %187, %188
%190 = zext i1 %189 to i32
%191 = and i32 %186, %190
%192 = load i32, ptr %29, align 4
%193 = load i32, ptr %45, align 4
%194 = icmp slt i32 %192, %193
%195 = zext i1 %194 to i32
%196 = and i32 %191, %195
%197 = load i32, ptr %30, align 4
%198 = load i32, ptr %45, align 4
%199 = icmp slt i32 %197, %198
%200 = zext i1 %199 to i32
%201 = and i32 %196, %200
%202 = load i32, ptr %31, align 4
%203 = load i32, ptr %45, align 4
%204 = icmp slt i32 %202, %203
%205 = zext i1 %204 to i32
%206 = and i32 %201, %205
%207 = icmp ne i32 %206, 0
br i1 %207, label %208, label %500
208: ; preds = %182
%209 = load i32, ptr %27, align 4
%210 = add nsw i32 %209, 1
store i32 %210, ptr %27, align 4
store i32 0, ptr %28, align 4
%211 = load ptr, ptr %14, align 8
%212 = load i32, ptr %27, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds ptr, ptr %211, i64 %213
%215 = load ptr, ptr %214, align 8
%216 = getelementptr inbounds i32, ptr %215, i64 1
%217 = load i32, ptr %216, align 4
store i32 %217, ptr %29, align 4
%218 = load ptr, ptr %14, align 8
%219 = load i32, ptr %27, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds ptr, ptr %218, i64 %220
%222 = load ptr, ptr %221, align 8
%223 = getelementptr inbounds i32, ptr %222, i64 7
%224 = load i32, ptr %223, align 4
%225 = trunc i32 %224 to i8
store i8 %225, ptr %33, align 1
%226 = load ptr, ptr %14, align 8
%227 = load i32, ptr %27, align 4
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds ptr, ptr %226, i64 %228
%230 = load ptr, ptr %229, align 8
%231 = getelementptr inbounds i32, ptr %230, i64 2
%232 = load i32, ptr %231, align 4
store i32 %232, ptr %30, align 4
%233 = load ptr, ptr %14, align 8
%234 = load i32, ptr %27, align 4
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds ptr, ptr %233, i64 %235
%237 = load ptr, ptr %236, align 8
%238 = getelementptr inbounds i32, ptr %237, i64 8
%239 = load i32, ptr %238, align 4
%240 = trunc i32 %239 to i8
store i8 %240, ptr %34, align 1
%241 = load ptr, ptr %14, align 8
%242 = load i32, ptr %27, align 4
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds ptr, ptr %241, i64 %243
%245 = load ptr, ptr %244, align 8
%246 = getelementptr inbounds i32, ptr %245, i64 3
%247 = load i32, ptr %246, align 4
store i32 %247, ptr %31, align 4
%248 = load ptr, ptr %14, align 8
%249 = load i32, ptr %27, align 4
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds ptr, ptr %248, i64 %250
%252 = load ptr, ptr %251, align 8
%253 = getelementptr inbounds i32, ptr %252, i64 9
%254 = load i32, ptr %253, align 4
%255 = trunc i32 %254 to i8
store i8 %255, ptr %35, align 1
store i32 0, ptr %37, align 4
store i32 0, ptr %38, align 4
store i32 0, ptr %39, align 4
br label %256
256: ; preds = %498, %208
%257 = load i32, ptr %28, align 4
%258 = load i32, ptr %18, align 4
%259 = icmp slt i32 %257, %258
%260 = zext i1 %259 to i32
%261 = load i32, ptr %43, align 4
%262 = load i32, ptr %23, align 4
%263 = icmp slt i32 %261, %262
%264 = zext i1 %263 to i32
%265 = and i32 %260, %264
%266 = load i32, ptr %37, align 4
%267 = load i32, ptr %22, align 4
%268 = icmp slt i32 %266, %267
%269 = zext i1 %268 to i32
%270 = and i32 %265, %269
%271 = load i32, ptr %38, align 4
%272 = load i32, ptr %22, align 4
%273 = icmp slt i32 %271, %272
%274 = zext i1 %273 to i32
%275 = and i32 %270, %274
%276 = load i32, ptr %39, align 4
%277 = load i32, ptr %22, align 4
%278 = icmp slt i32 %276, %277
%279 = zext i1 %278 to i32
%280 = and i32 %275, %279
%281 = icmp ne i32 %280, 0
br i1 %281, label %282, label %499
282: ; preds = %256
%283 = load i32, ptr %28, align 4
%284 = add nsw i32 %283, 1
store i32 %284, ptr %28, align 4
%285 = load ptr, ptr %15, align 8
%286 = load i32, ptr %28, align 4
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds i32, ptr %285, i64 %287
%289 = load i32, ptr %288, align 4
store i32 %289, ptr %32, align 4
%290 = load ptr, ptr %16, align 8
%291 = load i32, ptr %28, align 4
%292 = sext i32 %291 to i64
%293 = getelementptr inbounds i8, ptr %290, i64 %292
%294 = load i8, ptr %293, align 1
store i8 %294, ptr %36, align 1
store i32 0, ptr %37, align 4
store i32 0, ptr %38, align 4
store i32 0, ptr %39, align 4
%295 = load i8, ptr %35, align 1
%296 = sext i8 %295 to i32
%297 = icmp eq i32 %296, 1
%298 = zext i1 %297 to i32
%299 = load i8, ptr %36, align 1
%300 = sext i8 %299 to i32
%301 = icmp eq i32 %300, 1
%302 = zext i1 %301 to i32
%303 = and i32 %298, %302
%304 = load i8, ptr %35, align 1
%305 = sext i8 %304 to i32
%306 = icmp eq i32 %305, 0
%307 = zext i1 %306 to i32
%308 = load i8, ptr %36, align 1
%309 = sext i8 %308 to i32
%310 = icmp eq i32 %309, 0
%311 = zext i1 %310 to i32
%312 = and i32 %307, %311
%313 = or i32 %303, %312
%314 = icmp ne i32 %313, 0
br i1 %314, label %315, label %319
315: ; preds = %282
%316 = load i32, ptr %32, align 4
%317 = load i32, ptr %29, align 4
%318 = sub nsw i32 %316, %317
store i32 %318, ptr %37, align 4
br label %319
319: ; preds = %315, %282
%320 = load i32, ptr %37, align 4
%321 = call i32 @fabs(i32 noundef %320)
store i32 %321, ptr %40, align 4
%322 = load i32, ptr %40, align 4
%323 = load i32, ptr %21, align 4
%324 = icmp sgt i32 %322, %323
%325 = zext i1 %324 to i32
%326 = load i32, ptr %40, align 4
%327 = load i32, ptr %22, align 4
%328 = icmp slt i32 %326, %327
%329 = zext i1 %328 to i32
%330 = and i32 %325, %329
%331 = icmp ne i32 %330, 0
br i1 %331, label %332, label %479
332: ; preds = %319
%333 = load i32, ptr %32, align 4
%334 = load i32, ptr %30, align 4
%335 = sub nsw i32 %333, %334
store i32 %335, ptr %38, align 4
%336 = load i32, ptr %38, align 4
%337 = call i32 @fabs(i32 noundef %336)
store i32 %337, ptr %41, align 4
%338 = load i32, ptr %41, align 4
%339 = load i32, ptr %21, align 4
%340 = icmp sgt i32 %338, %339
%341 = zext i1 %340 to i32
%342 = load i32, ptr %41, align 4
%343 = load i32, ptr %22, align 4
%344 = icmp slt i32 %342, %343
%345 = zext i1 %344 to i32
%346 = and i32 %341, %345
%347 = icmp ne i32 %346, 0
br i1 %347, label %348, label %478
348: ; preds = %332
%349 = load i32, ptr %32, align 4
%350 = load i32, ptr %31, align 4
%351 = sub nsw i32 %349, %350
store i32 %351, ptr %39, align 4
%352 = load i32, ptr %39, align 4
%353 = call i32 @fabs(i32 noundef %352)
store i32 %353, ptr %42, align 4
%354 = load i32, ptr %42, align 4
%355 = load i32, ptr %21, align 4
%356 = icmp sgt i32 %354, %355
%357 = zext i1 %356 to i32
%358 = load i32, ptr %42, align 4
%359 = load i32, ptr %22, align 4
%360 = icmp slt i32 %358, %359
%361 = zext i1 %360 to i32
%362 = and i32 %357, %361
%363 = icmp ne i32 %362, 0
br i1 %363, label %364, label %477
364: ; preds = %348
%365 = load i32, ptr %43, align 4
%366 = add nsw i32 %365, 1
store i32 %366, ptr %43, align 4
%367 = load i32, ptr %25, align 4
%368 = icmp eq i32 %367, 1
br i1 %368, label %369, label %476
369: ; preds = %364
%370 = load i32, ptr %29, align 4
%371 = load ptr, ptr %26, align 8
%372 = load i32, ptr %43, align 4
%373 = sext i32 %372 to i64
%374 = getelementptr inbounds ptr, ptr %371, i64 %373
%375 = load ptr, ptr %374, align 8
%376 = getelementptr inbounds i32, ptr %375, i64 1
store i32 %370, ptr %376, align 4
%377 = load i32, ptr %30, align 4
%378 = load ptr, ptr %26, align 8
%379 = load i32, ptr %43, align 4
%380 = sext i32 %379 to i64
%381 = getelementptr inbounds ptr, ptr %378, i64 %380
%382 = load ptr, ptr %381, align 8
%383 = getelementptr inbounds i32, ptr %382, i64 2
store i32 %377, ptr %383, align 4
%384 = load i32, ptr %31, align 4
%385 = load ptr, ptr %26, align 8
%386 = load i32, ptr %43, align 4
%387 = sext i32 %386 to i64
%388 = getelementptr inbounds ptr, ptr %385, i64 %387
%389 = load ptr, ptr %388, align 8
%390 = getelementptr inbounds i32, ptr %389, i64 3
store i32 %384, ptr %390, align 4
%391 = load i32, ptr %32, align 4
%392 = load ptr, ptr %26, align 8
%393 = load i32, ptr %43, align 4
%394 = sext i32 %393 to i64
%395 = getelementptr inbounds ptr, ptr %392, i64 %394
%396 = load ptr, ptr %395, align 8
%397 = getelementptr inbounds i32, ptr %396, i64 4
store i32 %391, ptr %397, align 4
%398 = load ptr, ptr %14, align 8
%399 = load i32, ptr %27, align 4
%400 = sext i32 %399 to i64
%401 = getelementptr inbounds ptr, ptr %398, i64 %400
%402 = load ptr, ptr %401, align 8
%403 = getelementptr inbounds i32, ptr %402, i64 4
%404 = load i32, ptr %403, align 4
%405 = load ptr, ptr %26, align 8
%406 = load i32, ptr %43, align 4
%407 = sext i32 %406 to i64
%408 = getelementptr inbounds ptr, ptr %405, i64 %407
%409 = load ptr, ptr %408, align 8
%410 = getelementptr inbounds i32, ptr %409, i64 5
store i32 %404, ptr %410, align 4
%411 = load ptr, ptr %14, align 8
%412 = load i32, ptr %27, align 4
%413 = sext i32 %412 to i64
%414 = getelementptr inbounds ptr, ptr %411, i64 %413
%415 = load ptr, ptr %414, align 8
%416 = getelementptr inbounds i32, ptr %415, i64 5
%417 = load i32, ptr %416, align 4
%418 = load ptr, ptr %26, align 8
%419 = load i32, ptr %43, align 4
%420 = sext i32 %419 to i64
%421 = getelementptr inbounds ptr, ptr %418, i64 %420
%422 = load ptr, ptr %421, align 8
%423 = getelementptr inbounds i32, ptr %422, i64 6
store i32 %417, ptr %423, align 4
%424 = load ptr, ptr %14, align 8
%425 = load i32, ptr %27, align 4
%426 = sext i32 %425 to i64
%427 = getelementptr inbounds ptr, ptr %424, i64 %426
%428 = load ptr, ptr %427, align 8
%429 = getelementptr inbounds i32, ptr %428, i64 6
%430 = load i32, ptr %429, align 4
%431 = load ptr, ptr %26, align 8
%432 = load i32, ptr %43, align 4
%433 = sext i32 %432 to i64
%434 = getelementptr inbounds ptr, ptr %431, i64 %433
%435 = load ptr, ptr %434, align 8
%436 = getelementptr inbounds i32, ptr %435, i64 7
store i32 %430, ptr %436, align 4
%437 = load i32, ptr %28, align 4
%438 = load ptr, ptr %26, align 8
%439 = load i32, ptr %43, align 4
%440 = sext i32 %439 to i64
%441 = getelementptr inbounds ptr, ptr %438, i64 %440
%442 = load ptr, ptr %441, align 8
%443 = getelementptr inbounds i32, ptr %442, i64 8
store i32 %437, ptr %443, align 4
%444 = load i8, ptr %33, align 1
%445 = sext i8 %444 to i32
%446 = load ptr, ptr %26, align 8
%447 = load i32, ptr %43, align 4
%448 = sext i32 %447 to i64
%449 = getelementptr inbounds ptr, ptr %446, i64 %448
%450 = load ptr, ptr %449, align 8
%451 = getelementptr inbounds i32, ptr %450, i64 9
store i32 %445, ptr %451, align 4
%452 = load i8, ptr %34, align 1
%453 = sext i8 %452 to i32
%454 = load ptr, ptr %26, align 8
%455 = load i32, ptr %43, align 4
%456 = sext i32 %455 to i64
%457 = getelementptr inbounds ptr, ptr %454, i64 %456
%458 = load ptr, ptr %457, align 8
%459 = getelementptr inbounds i32, ptr %458, i64 10
store i32 %453, ptr %459, align 4
%460 = load i8, ptr %35, align 1
%461 = sext i8 %460 to i32
%462 = load ptr, ptr %26, align 8
%463 = load i32, ptr %43, align 4
%464 = sext i32 %463 to i64
%465 = getelementptr inbounds ptr, ptr %462, i64 %464
%466 = load ptr, ptr %465, align 8
%467 = getelementptr inbounds i32, ptr %466, i64 11
store i32 %461, ptr %467, align 4
%468 = load i8, ptr %36, align 1
%469 = sext i8 %468 to i32
%470 = load ptr, ptr %26, align 8
%471 = load i32, ptr %43, align 4
%472 = sext i32 %471 to i64
%473 = getelementptr inbounds ptr, ptr %470, i64 %472
%474 = load ptr, ptr %473, align 8
%475 = getelementptr inbounds i32, ptr %474, i64 12
store i32 %469, ptr %475, align 4
br label %476
476: ; preds = %369, %364
br label %477
477: ; preds = %476, %348
br label %478
478: ; preds = %477, %332
br label %479
479: ; preds = %478, %319
%480 = load i32, ptr %37, align 4
%481 = load i32, ptr %22, align 4
%482 = icmp sgt i32 %480, %481
%483 = zext i1 %482 to i32
%484 = load i32, ptr %38, align 4
%485 = load i32, ptr %22, align 4
%486 = icmp sgt i32 %484, %485
%487 = zext i1 %486 to i32
%488 = or i32 %483, %487
%489 = load i32, ptr %39, align 4
%490 = load i32, ptr %22, align 4
%491 = icmp sgt i32 %489, %490
%492 = zext i1 %491 to i32
%493 = or i32 %488, %492
%494 = icmp ne i32 %493, 0
br i1 %494, label %495, label %498
495: ; preds = %479
%496 = load i32, ptr %18, align 4
%497 = add nsw i32 %496, 1
store i32 %497, ptr %28, align 4
br label %498
498: ; preds = %495, %479
br label %256, !llvm.loop !8
499: ; preds = %256
br label %182, !llvm.loop !9
500: ; preds = %182
%501 = load i32, ptr %43, align 4
%502 = icmp sgt i32 %501, 0
%503 = zext i1 %502 to i32
%504 = load i32, ptr %25, align 4
%505 = icmp eq i32 %504, 1
%506 = zext i1 %505 to i32
%507 = and i32 %503, %506
%508 = icmp ne i32 %507, 0
br i1 %508, label %509, label %515
509: ; preds = %500
%510 = load ptr, ptr %26, align 8
%511 = load ptr, ptr %19, align 8
%512 = load ptr, ptr %24, align 8
%513 = load i32, ptr %43, align 4
%514 = call i32 @remove_overlaps_v2(ptr noundef %510, ptr noundef %511, ptr noundef %512, i32 noundef %513, i32 noundef 4)
store i32 %514, ptr %44, align 4
br label %517
515: ; preds = %500
%516 = load i32, ptr %43, align 4
store i32 %516, ptr %44, align 4
br label %517
517: ; preds = %515, %509
%518 = load i32, ptr %43, align 4
%519 = load i32, ptr %23, align 4
%520 = icmp sge i32 %518, %519
br i1 %520, label %521, label %524
521: ; preds = %517
%522 = load ptr, ptr %20, align 8
%523 = getelementptr inbounds i32, ptr %522, i64 1
store i32 -1, ptr %523, align 4
br label %527
524: ; preds = %517
%525 = load ptr, ptr %20, align 8
%526 = getelementptr inbounds i32, ptr %525, i64 1
store i32 0, ptr %526, align 4
br label %527
527: ; preds = %524, %521
%528 = load i32, ptr %44, align 4
%529 = load ptr, ptr %20, align 8
%530 = getelementptr inbounds i32, ptr %529, i64 0
store i32 %528, ptr %530, align 4
ret void
}
declare i32 @fabs(i32 noundef) #1
declare i32 @remove_overlaps_v2(ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcnbi66el.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dist_4v_unordered_v4(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12) #0 {
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca ptr, align 8
%25 = alloca i32, align 4
%26 = alloca ptr, align 8
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i8, align 1
%34 = alloca i8, align 1
%35 = alloca i8, align 1
%36 = alloca i8, align 1
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca i32, align 4
%46 = alloca i32, align 4
%47 = alloca i32, align 4
store ptr %0, ptr %14, align 8
store ptr %1, ptr %15, align 8
store ptr %2, ptr %16, align 8
store i32 %3, ptr %17, align 4
store i32 %4, ptr %18, align 4
store ptr %5, ptr %19, align 8
store ptr %6, ptr %20, align 8
store i32 %7, ptr %21, align 4
store i32 %8, ptr %22, align 4
store i32 %9, ptr %23, align 4
store ptr %10, ptr %24, align 8
store i32 %11, ptr %25, align 4
store ptr %12, ptr %26, align 8
store i32 0, ptr %43, align 4
%48 = load ptr, ptr %15, align 8
%49 = load i32, ptr %18, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
%52 = load i32, ptr %51, align 4
%53 = load i32, ptr %22, align 4
%54 = add nsw i32 %52, %53
store i32 %54, ptr %45, align 4
%55 = load ptr, ptr %15, align 8
%56 = getelementptr inbounds i32, ptr %55, i64 1
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr %22, align 4
%59 = sub nsw i32 %57, %58
store i32 %59, ptr %46, align 4
%60 = load ptr, ptr %14, align 8
%61 = load i32, ptr %17, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds ptr, ptr %60, i64 %62
%64 = load ptr, ptr %63, align 8
%65 = getelementptr inbounds i32, ptr %64, i64 1
%66 = load i32, ptr %65, align 4
%67 = load i32, ptr %46, align 4
%68 = icmp slt i32 %66, %67
%69 = zext i1 %68 to i32
%70 = load ptr, ptr %14, align 8
%71 = load i32, ptr %17, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds ptr, ptr %70, i64 %72
%74 = load ptr, ptr %73, align 8
%75 = getelementptr inbounds i32, ptr %74, i64 2
%76 = load i32, ptr %75, align 4
%77 = load i32, ptr %46, align 4
%78 = icmp slt i32 %76, %77
%79 = zext i1 %78 to i32
%80 = or i32 %69, %79
%81 = load ptr, ptr %14, align 8
%82 = load i32, ptr %17, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds ptr, ptr %81, i64 %83
%85 = load ptr, ptr %84, align 8
%86 = getelementptr inbounds i32, ptr %85, i64 3
%87 = load i32, ptr %86, align 4
%88 = load i32, ptr %46, align 4
%89 = icmp slt i32 %87, %88
%90 = zext i1 %89 to i32
%91 = or i32 %80, %90
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %96
93: ; preds = %13
%94 = load i32, ptr %17, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %47, align 4
br label %164
96: ; preds = %13
store i32 1, ptr %47, align 4
%97 = load ptr, ptr %14, align 8
%98 = load i32, ptr %47, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds ptr, ptr %97, i64 %99
%101 = load ptr, ptr %100, align 8
%102 = getelementptr inbounds i32, ptr %101, i64 1
%103 = load i32, ptr %102, align 4
store i32 %103, ptr %29, align 4
%104 = load ptr, ptr %14, align 8
%105 = load i32, ptr %47, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds ptr, ptr %104, i64 %106
%108 = load ptr, ptr %107, align 8
%109 = getelementptr inbounds i32, ptr %108, i64 2
%110 = load i32, ptr %109, align 4
store i32 %110, ptr %30, align 4
%111 = load ptr, ptr %14, align 8
%112 = load i32, ptr %47, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds ptr, ptr %111, i64 %113
%115 = load ptr, ptr %114, align 8
%116 = getelementptr inbounds i32, ptr %115, i64 3
%117 = load i32, ptr %116, align 4
store i32 %117, ptr %31, align 4
br label %118
118: ; preds = %139, %96
%119 = load i32, ptr %29, align 4
%120 = load i32, ptr %46, align 4
%121 = icmp slt i32 %119, %120
%122 = zext i1 %121 to i32
%123 = load i32, ptr %30, align 4
%124 = load i32, ptr %46, align 4
%125 = icmp slt i32 %123, %124
%126 = zext i1 %125 to i32
%127 = or i32 %122, %126
%128 = load i32, ptr %31, align 4
%129 = load i32, ptr %46, align 4
%130 = icmp slt i32 %128, %129
%131 = zext i1 %130 to i32
%132 = or i32 %127, %131
%133 = load i32, ptr %47, align 4
%134 = load i32, ptr %17, align 4
%135 = icmp slt i32 %133, %134
%136 = zext i1 %135 to i32
%137 = and i32 %132, %136
%138 = icmp ne i32 %137, 0
br i1 %138, label %139, label %163
139: ; preds = %118
%140 = load i32, ptr %47, align 4
%141 = add nsw i32 %140, 1
store i32 %141, ptr %47, align 4
%142 = load ptr, ptr %14, align 8
%143 = load i32, ptr %47, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds ptr, ptr %142, i64 %144
%146 = load ptr, ptr %145, align 8
%147 = getelementptr inbounds i32, ptr %146, i64 1
%148 = load i32, ptr %147, align 4
store i32 %148, ptr %29, align 4
%149 = load ptr, ptr %14, align 8
%150 = load i32, ptr %47, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds ptr, ptr %149, i64 %151
%153 = load ptr, ptr %152, align 8
%154 = getelementptr inbounds i32, ptr %153, i64 2
%155 = load i32, ptr %154, align 4
store i32 %155, ptr %30, align 4
%156 = load ptr, ptr %14, align 8
%157 = load i32, ptr %47, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds ptr, ptr %156, i64 %158
%160 = load ptr, ptr %159, align 8
%161 = getelementptr inbounds i32, ptr %160, i64 3
%162 = load i32, ptr %161, align 4
store i32 %162, ptr %31, align 4
br label %118, !llvm.loop !6
163: ; preds = %118
br label %164
164: ; preds = %163, %93
%165 = load i32, ptr %47, align 4
%166 = sub nsw i32 %165, 1
store i32 %166, ptr %27, align 4
%167 = load ptr, ptr %14, align 8
%168 = getelementptr inbounds ptr, ptr %167, i64 1
%169 = load ptr, ptr %168, align 8
%170 = getelementptr inbounds i32, ptr %169, i64 1
%171 = load i32, ptr %170, align 4
store i32 %171, ptr %29, align 4
%172 = load ptr, ptr %14, align 8
%173 = getelementptr inbounds ptr, ptr %172, i64 1
%174 = load ptr, ptr %173, align 8
%175 = getelementptr inbounds i32, ptr %174, i64 2
%176 = load i32, ptr %175, align 4
store i32 %176, ptr %30, align 4
%177 = load ptr, ptr %14, align 8
%178 = getelementptr inbounds ptr, ptr %177, i64 1
%179 = load ptr, ptr %178, align 8
%180 = getelementptr inbounds i32, ptr %179, i64 3
%181 = load i32, ptr %180, align 4
store i32 %181, ptr %31, align 4
br label %182
182: ; preds = %499, %164
%183 = load i32, ptr %27, align 4
%184 = load i32, ptr %17, align 4
%185 = icmp slt i32 %183, %184
%186 = zext i1 %185 to i32
%187 = load i32, ptr %43, align 4
%188 = load i32, ptr %23, align 4
%189 = icmp slt i32 %187, %188
%190 = zext i1 %189 to i32
%191 = and i32 %186, %190
%192 = load i32, ptr %29, align 4
%193 = load i32, ptr %45, align 4
%194 = icmp slt i32 %192, %193
%195 = zext i1 %194 to i32
%196 = and i32 %191, %195
%197 = load i32, ptr %30, align 4
%198 = load i32, ptr %45, align 4
%199 = icmp slt i32 %197, %198
%200 = zext i1 %199 to i32
%201 = and i32 %196, %200
%202 = load i32, ptr %31, align 4
%203 = load i32, ptr %45, align 4
%204 = icmp slt i32 %202, %203
%205 = zext i1 %204 to i32
%206 = and i32 %201, %205
%207 = icmp ne i32 %206, 0
br i1 %207, label %208, label %500
208: ; preds = %182
%209 = load i32, ptr %27, align 4
%210 = add nsw i32 %209, 1
store i32 %210, ptr %27, align 4
store i32 0, ptr %28, align 4
%211 = load ptr, ptr %14, align 8
%212 = load i32, ptr %27, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds ptr, ptr %211, i64 %213
%215 = load ptr, ptr %214, align 8
%216 = getelementptr inbounds i32, ptr %215, i64 1
%217 = load i32, ptr %216, align 4
store i32 %217, ptr %29, align 4
%218 = load ptr, ptr %14, align 8
%219 = load i32, ptr %27, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds ptr, ptr %218, i64 %220
%222 = load ptr, ptr %221, align 8
%223 = getelementptr inbounds i32, ptr %222, i64 7
%224 = load i32, ptr %223, align 4
%225 = trunc i32 %224 to i8
store i8 %225, ptr %33, align 1
%226 = load ptr, ptr %14, align 8
%227 = load i32, ptr %27, align 4
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds ptr, ptr %226, i64 %228
%230 = load ptr, ptr %229, align 8
%231 = getelementptr inbounds i32, ptr %230, i64 2
%232 = load i32, ptr %231, align 4
store i32 %232, ptr %30, align 4
%233 = load ptr, ptr %14, align 8
%234 = load i32, ptr %27, align 4
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds ptr, ptr %233, i64 %235
%237 = load ptr, ptr %236, align 8
%238 = getelementptr inbounds i32, ptr %237, i64 8
%239 = load i32, ptr %238, align 4
%240 = trunc i32 %239 to i8
store i8 %240, ptr %34, align 1
%241 = load ptr, ptr %14, align 8
%242 = load i32, ptr %27, align 4
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds ptr, ptr %241, i64 %243
%245 = load ptr, ptr %244, align 8
%246 = getelementptr inbounds i32, ptr %245, i64 3
%247 = load i32, ptr %246, align 4
store i32 %247, ptr %31, align 4
%248 = load ptr, ptr %14, align 8
%249 = load i32, ptr %27, align 4
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds ptr, ptr %248, i64 %250
%252 = load ptr, ptr %251, align 8
%253 = getelementptr inbounds i32, ptr %252, i64 9
%254 = load i32, ptr %253, align 4
%255 = trunc i32 %254 to i8
store i8 %255, ptr %35, align 1
store i32 0, ptr %37, align 4
store i32 0, ptr %38, align 4
store i32 0, ptr %39, align 4
br label %256
256: ; preds = %498, %208
%257 = load i32, ptr %28, align 4
%258 = load i32, ptr %18, align 4
%259 = icmp slt i32 %257, %258
%260 = zext i1 %259 to i32
%261 = load i32, ptr %43, align 4
%262 = load i32, ptr %23, align 4
%263 = icmp slt i32 %261, %262
%264 = zext i1 %263 to i32
%265 = and i32 %260, %264
%266 = load i32, ptr %37, align 4
%267 = load i32, ptr %22, align 4
%268 = icmp slt i32 %266, %267
%269 = zext i1 %268 to i32
%270 = and i32 %265, %269
%271 = load i32, ptr %38, align 4
%272 = load i32, ptr %22, align 4
%273 = icmp slt i32 %271, %272
%274 = zext i1 %273 to i32
%275 = and i32 %270, %274
%276 = load i32, ptr %39, align 4
%277 = load i32, ptr %22, align 4
%278 = icmp slt i32 %276, %277
%279 = zext i1 %278 to i32
%280 = and i32 %275, %279
%281 = icmp ne i32 %280, 0
br i1 %281, label %282, label %499
282: ; preds = %256
%283 = load i32, ptr %28, align 4
%284 = add nsw i32 %283, 1
store i32 %284, ptr %28, align 4
%285 = load ptr, ptr %15, align 8
%286 = load i32, ptr %28, align 4
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds i32, ptr %285, i64 %287
%289 = load i32, ptr %288, align 4
store i32 %289, ptr %32, align 4
%290 = load ptr, ptr %16, align 8
%291 = load i32, ptr %28, align 4
%292 = sext i32 %291 to i64
%293 = getelementptr inbounds i8, ptr %290, i64 %292
%294 = load i8, ptr %293, align 1
store i8 %294, ptr %36, align 1
store i32 0, ptr %37, align 4
store i32 0, ptr %38, align 4
store i32 0, ptr %39, align 4
%295 = load i8, ptr %35, align 1
%296 = sext i8 %295 to i32
%297 = icmp eq i32 %296, 1
%298 = zext i1 %297 to i32
%299 = load i8, ptr %36, align 1
%300 = sext i8 %299 to i32
%301 = icmp eq i32 %300, 1
%302 = zext i1 %301 to i32
%303 = and i32 %298, %302
%304 = load i8, ptr %35, align 1
%305 = sext i8 %304 to i32
%306 = icmp eq i32 %305, 0
%307 = zext i1 %306 to i32
%308 = load i8, ptr %36, align 1
%309 = sext i8 %308 to i32
%310 = icmp eq i32 %309, 0
%311 = zext i1 %310 to i32
%312 = and i32 %307, %311
%313 = or i32 %303, %312
%314 = icmp ne i32 %313, 0
br i1 %314, label %315, label %319
315: ; preds = %282
%316 = load i32, ptr %32, align 4
%317 = load i32, ptr %29, align 4
%318 = sub nsw i32 %316, %317
store i32 %318, ptr %37, align 4
br label %319
319: ; preds = %315, %282
%320 = load i32, ptr %37, align 4
%321 = call i32 @fabs(i32 noundef %320)
store i32 %321, ptr %40, align 4
%322 = load i32, ptr %40, align 4
%323 = load i32, ptr %21, align 4
%324 = icmp sgt i32 %322, %323
%325 = zext i1 %324 to i32
%326 = load i32, ptr %40, align 4
%327 = load i32, ptr %22, align 4
%328 = icmp slt i32 %326, %327
%329 = zext i1 %328 to i32
%330 = and i32 %325, %329
%331 = icmp ne i32 %330, 0
br i1 %331, label %332, label %479
332: ; preds = %319
%333 = load i32, ptr %32, align 4
%334 = load i32, ptr %30, align 4
%335 = sub nsw i32 %333, %334
store i32 %335, ptr %38, align 4
%336 = load i32, ptr %38, align 4
%337 = call i32 @fabs(i32 noundef %336)
store i32 %337, ptr %41, align 4
%338 = load i32, ptr %41, align 4
%339 = load i32, ptr %21, align 4
%340 = icmp sgt i32 %338, %339
%341 = zext i1 %340 to i32
%342 = load i32, ptr %41, align 4
%343 = load i32, ptr %22, align 4
%344 = icmp slt i32 %342, %343
%345 = zext i1 %344 to i32
%346 = and i32 %341, %345
%347 = icmp ne i32 %346, 0
br i1 %347, label %348, label %478
348: ; preds = %332
%349 = load i32, ptr %32, align 4
%350 = load i32, ptr %31, align 4
%351 = sub nsw i32 %349, %350
store i32 %351, ptr %39, align 4
%352 = load i32, ptr %39, align 4
%353 = call i32 @fabs(i32 noundef %352)
store i32 %353, ptr %42, align 4
%354 = load i32, ptr %42, align 4
%355 = load i32, ptr %21, align 4
%356 = icmp sgt i32 %354, %355
%357 = zext i1 %356 to i32
%358 = load i32, ptr %42, align 4
%359 = load i32, ptr %22, align 4
%360 = icmp slt i32 %358, %359
%361 = zext i1 %360 to i32
%362 = and i32 %357, %361
%363 = icmp ne i32 %362, 0
br i1 %363, label %364, label %477
364: ; preds = %348
%365 = load i32, ptr %43, align 4
%366 = add nsw i32 %365, 1
store i32 %366, ptr %43, align 4
%367 = load i32, ptr %25, align 4
%368 = icmp eq i32 %367, 1
br i1 %368, label %369, label %476
369: ; preds = %364
%370 = load i32, ptr %29, align 4
%371 = load ptr, ptr %26, align 8
%372 = load i32, ptr %43, align 4
%373 = sext i32 %372 to i64
%374 = getelementptr inbounds ptr, ptr %371, i64 %373
%375 = load ptr, ptr %374, align 8
%376 = getelementptr inbounds i32, ptr %375, i64 1
store i32 %370, ptr %376, align 4
%377 = load i32, ptr %30, align 4
%378 = load ptr, ptr %26, align 8
%379 = load i32, ptr %43, align 4
%380 = sext i32 %379 to i64
%381 = getelementptr inbounds ptr, ptr %378, i64 %380
%382 = load ptr, ptr %381, align 8
%383 = getelementptr inbounds i32, ptr %382, i64 2
store i32 %377, ptr %383, align 4
%384 = load i32, ptr %31, align 4
%385 = load ptr, ptr %26, align 8
%386 = load i32, ptr %43, align 4
%387 = sext i32 %386 to i64
%388 = getelementptr inbounds ptr, ptr %385, i64 %387
%389 = load ptr, ptr %388, align 8
%390 = getelementptr inbounds i32, ptr %389, i64 3
store i32 %384, ptr %390, align 4
%391 = load i32, ptr %32, align 4
%392 = load ptr, ptr %26, align 8
%393 = load i32, ptr %43, align 4
%394 = sext i32 %393 to i64
%395 = getelementptr inbounds ptr, ptr %392, i64 %394
%396 = load ptr, ptr %395, align 8
%397 = getelementptr inbounds i32, ptr %396, i64 4
store i32 %391, ptr %397, align 4
%398 = load ptr, ptr %14, align 8
%399 = load i32, ptr %27, align 4
%400 = sext i32 %399 to i64
%401 = getelementptr inbounds ptr, ptr %398, i64 %400
%402 = load ptr, ptr %401, align 8
%403 = getelementptr inbounds i32, ptr %402, i64 4
%404 = load i32, ptr %403, align 4
%405 = load ptr, ptr %26, align 8
%406 = load i32, ptr %43, align 4
%407 = sext i32 %406 to i64
%408 = getelementptr inbounds ptr, ptr %405, i64 %407
%409 = load ptr, ptr %408, align 8
%410 = getelementptr inbounds i32, ptr %409, i64 5
store i32 %404, ptr %410, align 4
%411 = load ptr, ptr %14, align 8
%412 = load i32, ptr %27, align 4
%413 = sext i32 %412 to i64
%414 = getelementptr inbounds ptr, ptr %411, i64 %413
%415 = load ptr, ptr %414, align 8
%416 = getelementptr inbounds i32, ptr %415, i64 5
%417 = load i32, ptr %416, align 4
%418 = load ptr, ptr %26, align 8
%419 = load i32, ptr %43, align 4
%420 = sext i32 %419 to i64
%421 = getelementptr inbounds ptr, ptr %418, i64 %420
%422 = load ptr, ptr %421, align 8
%423 = getelementptr inbounds i32, ptr %422, i64 6
store i32 %417, ptr %423, align 4
%424 = load ptr, ptr %14, align 8
%425 = load i32, ptr %27, align 4
%426 = sext i32 %425 to i64
%427 = getelementptr inbounds ptr, ptr %424, i64 %426
%428 = load ptr, ptr %427, align 8
%429 = getelementptr inbounds i32, ptr %428, i64 6
%430 = load i32, ptr %429, align 4
%431 = load ptr, ptr %26, align 8
%432 = load i32, ptr %43, align 4
%433 = sext i32 %432 to i64
%434 = getelementptr inbounds ptr, ptr %431, i64 %433
%435 = load ptr, ptr %434, align 8
%436 = getelementptr inbounds i32, ptr %435, i64 7
store i32 %430, ptr %436, align 4
%437 = load i32, ptr %28, align 4
%438 = load ptr, ptr %26, align 8
%439 = load i32, ptr %43, align 4
%440 = sext i32 %439 to i64
%441 = getelementptr inbounds ptr, ptr %438, i64 %440
%442 = load ptr, ptr %441, align 8
%443 = getelementptr inbounds i32, ptr %442, i64 8
store i32 %437, ptr %443, align 4
%444 = load i8, ptr %33, align 1
%445 = sext i8 %444 to i32
%446 = load ptr, ptr %26, align 8
%447 = load i32, ptr %43, align 4
%448 = sext i32 %447 to i64
%449 = getelementptr inbounds ptr, ptr %446, i64 %448
%450 = load ptr, ptr %449, align 8
%451 = getelementptr inbounds i32, ptr %450, i64 9
store i32 %445, ptr %451, align 4
%452 = load i8, ptr %34, align 1
%453 = sext i8 %452 to i32
%454 = load ptr, ptr %26, align 8
%455 = load i32, ptr %43, align 4
%456 = sext i32 %455 to i64
%457 = getelementptr inbounds ptr, ptr %454, i64 %456
%458 = load ptr, ptr %457, align 8
%459 = getelementptr inbounds i32, ptr %458, i64 10
store i32 %453, ptr %459, align 4
%460 = load i8, ptr %35, align 1
%461 = sext i8 %460 to i32
%462 = load ptr, ptr %26, align 8
%463 = load i32, ptr %43, align 4
%464 = sext i32 %463 to i64
%465 = getelementptr inbounds ptr, ptr %462, i64 %464
%466 = load ptr, ptr %465, align 8
%467 = getelementptr inbounds i32, ptr %466, i64 11
store i32 %461, ptr %467, align 4
%468 = load i8, ptr %36, align 1
%469 = sext i8 %468 to i32
%470 = load ptr, ptr %26, align 8
%471 = load i32, ptr %43, align 4
%472 = sext i32 %471 to i64
%473 = getelementptr inbounds ptr, ptr %470, i64 %472
%474 = load ptr, ptr %473, align 8
%475 = getelementptr inbounds i32, ptr %474, i64 12
store i32 %469, ptr %475, align 4
br label %476
476: ; preds = %369, %364
br label %477
477: ; preds = %476, %348
br label %478
478: ; preds = %477, %332
br label %479
479: ; preds = %478, %319
%480 = load i32, ptr %37, align 4
%481 = load i32, ptr %22, align 4
%482 = icmp sgt i32 %480, %481
%483 = zext i1 %482 to i32
%484 = load i32, ptr %38, align 4
%485 = load i32, ptr %22, align 4
%486 = icmp sgt i32 %484, %485
%487 = zext i1 %486 to i32
%488 = or i32 %483, %487
%489 = load i32, ptr %39, align 4
%490 = load i32, ptr %22, align 4
%491 = icmp sgt i32 %489, %490
%492 = zext i1 %491 to i32
%493 = or i32 %488, %492
%494 = icmp ne i32 %493, 0
br i1 %494, label %495, label %498
495: ; preds = %479
%496 = load i32, ptr %18, align 4
%497 = add nsw i32 %496, 1
store i32 %497, ptr %28, align 4
br label %498
498: ; preds = %495, %479
br label %256, !llvm.loop !8
499: ; preds = %256
br label %182, !llvm.loop !9
500: ; preds = %182
%501 = load i32, ptr %43, align 4
%502 = icmp sgt i32 %501, 0
%503 = zext i1 %502 to i32
%504 = load i32, ptr %25, align 4
%505 = icmp eq i32 %504, 1
%506 = zext i1 %505 to i32
%507 = and i32 %503, %506
%508 = icmp ne i32 %507, 0
br i1 %508, label %509, label %515
509: ; preds = %500
%510 = load ptr, ptr %26, align 8
%511 = load ptr, ptr %19, align 8
%512 = load ptr, ptr %24, align 8
%513 = load i32, ptr %43, align 4
%514 = call i32 @remove_overlaps_v2(ptr noundef %510, ptr noundef %511, ptr noundef %512, i32 noundef %513, i32 noundef 4)
store i32 %514, ptr %44, align 4
br label %517
515: ; preds = %500
%516 = load i32, ptr %43, align 4
store i32 %516, ptr %44, align 4
br label %517
517: ; preds = %515, %509
%518 = load i32, ptr %43, align 4
%519 = load i32, ptr %23, align 4
%520 = icmp sge i32 %518, %519
br i1 %520, label %521, label %524
521: ; preds = %517
%522 = load ptr, ptr %20, align 8
%523 = getelementptr inbounds i32, ptr %522, i64 1
store i32 -1, ptr %523, align 4
br label %527
524: ; preds = %517
%525 = load ptr, ptr %20, align 8
%526 = getelementptr inbounds i32, ptr %525, i64 1
store i32 0, ptr %526, align 4
br label %527
527: ; preds = %524, %521
%528 = load i32, ptr %44, align 4
%529 = load ptr, ptr %20, align 8
%530 = getelementptr inbounds i32, ptr %529, i64 0
store i32 %528, ptr %530, align 4
ret void
}
declare i32 @fabs(i32 noundef) #1
declare i32 @remove_overlaps_v2(ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpc6sx3d4u.c'
source_filename = "/tmp/tmpc6sx3d4u.c"
target datalayout = "e-m:e-p270: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/tmpc6sx3d4u.c"
target datalayout = "e-m:e-p270: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/tmp010l_q8m.c'
source_filename = "/tmp/tmp010l_q8m.c"
target datalayout = "e-m:e-p270: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_SUCCESS = dso_local global i32 0, align 4
@stderr = dso_local global ptr null, align 8
@stdout = dso_local global ptr null, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp010l_q8m.c"
target datalayout = "e-m:e-p270: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_SUCCESS = dso_local global i32 0, align 4
@stderr = dso_local global ptr null, align 8
@stdout = dso_local global ptr null, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt5738e0z.c'
source_filename = "/tmp/tmpt5738e0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/vsitypes/1/\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"\0A version is %s\0Aid is %s\0A idlen = %d\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [32 x i8], align 16
%8 = alloca [32 x i8], align 16
store ptr @.str, ptr %1, align 8
%9 = load ptr, ptr %1, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11)
%13 = load ptr, ptr %1, align 8
store ptr %13, ptr %2, align 8
br label %14
14: ; preds = %66, %0
%15 = load ptr, ptr %2, align 8
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %18, label %69
18: ; preds = %14
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 0
%21 = load i8, ptr %20, align 1
store i8 %21, ptr %3, align 1
%22 = load i32, ptr %6, align 4
%23 = icmp eq i32 %22, 2
br i1 %23, label %24, label %36
24: ; preds = %18
%25 = load i8, ptr %3, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %26, 47
br i1 %27, label %28, label %35
28: ; preds = %24
%29 = load i8, ptr %3, align 1
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 %31
store i8 %29, ptr %32, align 1
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
br label %35
35: ; preds = %28, %24
br label %36
36: ; preds = %35, %18
%37 = load i32, ptr %6, align 4
%38 = icmp eq i32 %37, 3
br i1 %38, label %39, label %46
39: ; preds = %36
%40 = load i8, ptr %3, align 1
%41 = load i32, ptr %5, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 %42
store i8 %40, ptr %43, align 1
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %5, align 4
br label %46
46: ; preds = %39, %36
%47 = load i8, ptr %3, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 47
br i1 %49, label %50, label %65
50: ; preds = %46
%51 = load i32, ptr %6, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %6, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp eq i32 %53, 2
br i1 %54, label %55, label %56
55: ; preds = %50
store i32 0, ptr %5, align 4
br label %64
56: ; preds = %50
%57 = load i32, ptr %6, align 4
%58 = icmp eq i32 %57, 3
br i1 %58, label %59, label %63
59: ; preds = %56
%60 = load i32, ptr %5, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 %61
store i8 0, ptr %62, align 1
store i32 0, ptr %5, align 4
br label %63
63: ; preds = %59, %56
br label %64
64: ; preds = %63, %55
br label %65
65: ; preds = %64, %46
br label %66
66: ; preds = %65
%67 = load ptr, ptr %2, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %2, align 8
br label %14, !llvm.loop !6
69: ; preds = %14
%70 = load i32, ptr %5, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 %71
store i8 0, ptr %72, align 1
%73 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%74 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%75 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%76 = call i32 @strlen(ptr noundef %75)
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %73, ptr noundef %74, i32 noundef %76)
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt5738e0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/vsitypes/1/\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"\0A version is %s\0Aid is %s\0A idlen = %d\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [32 x i8], align 16
%8 = alloca [32 x i8], align 16
store ptr @.str, ptr %1, align 8
%9 = load ptr, ptr %1, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11)
%13 = load ptr, ptr %1, align 8
store ptr %13, ptr %2, align 8
%14 = load ptr, ptr %2, align 8
%15 = load i8, ptr %14, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %.lr.ph, label %71
.lr.ph: ; preds = %0
br label %17
17: ; preds = %.lr.ph, %65
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 0
%20 = load i8, ptr %19, align 1
store i8 %20, ptr %3, align 1
%21 = load i32, ptr %6, align 4
%22 = icmp eq i32 %21, 2
br i1 %22, label %23, label %35
23: ; preds = %17
%24 = load i8, ptr %3, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 47
br i1 %26, label %27, label %34
27: ; preds = %23
%28 = load i8, ptr %3, align 1
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 %30
store i8 %28, ptr %31, align 1
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %34
34: ; preds = %27, %23
br label %35
35: ; preds = %34, %17
%36 = load i32, ptr %6, align 4
%37 = icmp eq i32 %36, 3
br i1 %37, label %38, label %45
38: ; preds = %35
%39 = load i8, ptr %3, align 1
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 %41
store i8 %39, ptr %42, align 1
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
br label %45
45: ; preds = %38, %35
%46 = load i8, ptr %3, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 47
br i1 %48, label %49, label %64
49: ; preds = %45
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %6, align 4
%52 = load i32, ptr %6, align 4
%53 = icmp eq i32 %52, 2
br i1 %53, label %54, label %55
54: ; preds = %49
store i32 0, ptr %5, align 4
br label %63
55: ; preds = %49
%56 = load i32, ptr %6, align 4
%57 = icmp eq i32 %56, 3
br i1 %57, label %58, label %62
58: ; preds = %55
%59 = load i32, ptr %5, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 %60
store i8 0, ptr %61, align 1
store i32 0, ptr %5, align 4
br label %62
62: ; preds = %58, %55
br label %63
63: ; preds = %62, %54
br label %64
64: ; preds = %63, %45
br label %65
65: ; preds = %64
%66 = load ptr, ptr %2, align 8
%67 = getelementptr inbounds i8, ptr %66, i32 1
store ptr %67, ptr %2, align 8
%68 = load ptr, ptr %2, align 8
%69 = load i8, ptr %68, align 1
%70 = icmp ne i8 %69, 0
br i1 %70, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %65
br label %71
71: ; preds = %._crit_edge, %0
%72 = load i32, ptr %5, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 %73
store i8 0, ptr %74, align 1
%75 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%76 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%77 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%78 = call i32 @strlen(ptr noundef %77)
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %75, ptr noundef %76, i32 noundef %78)
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmplmo95ebw.c'
source_filename = "/tmp/tmplmo95ebw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp sge i32 %9, %10
br i1 %11, label %12, label %13
12: ; preds = %3
br label %61
13: ; preds = %3
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %16, %17
%19 = sdiv i32 %18, 2
call void @swap(ptr noundef %14, i32 noundef %15, i32 noundef %19)
%20 = load i32, ptr %5, align 4
store i32 %20, ptr %8, align 4
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
br label %23
23: ; preds = %46, %13
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp sle i32 %24, %25
br i1 %26, label %27, label %49
27: ; preds = %23
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %33, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = call i64 @strcmp(ptr noundef %32, ptr noundef %37)
%39 = icmp slt i64 %38, 0
br i1 %39, label %40, label %45
40: ; preds = %27
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %7, align 4
call void @swap(ptr noundef %41, i32 noundef %43, i32 noundef %44)
br label %45
45: ; preds = %40, %27
br label %46
46: ; preds = %45
%47 = load i32, ptr %7, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %7, align 4
br label %23, !llvm.loop !6
49: ; preds = %23
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %5, align 4
%52 = load i32, ptr %8, align 4
call void @swap(ptr noundef %50, i32 noundef %51, i32 noundef %52)
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %5, align 4
%55 = load i32, ptr %8, align 4
%56 = sub nsw i32 %55, 1
call void @qsort(ptr noundef %53, i32 noundef %54, i32 noundef %56)
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %8, align 4
%59 = add nsw i32 %58, 1
%60 = load i32, ptr %6, align 4
call void @qsort(ptr noundef %57, i32 noundef %59, i32 noundef %60)
br label %61
61: ; preds = %49, %12
ret void
}
declare void @swap(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmplmo95ebw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp sge i32 %9, %10
br i1 %11, label %12, label %13
12: ; preds = %3
br label %63
13: ; preds = %3
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %16, %17
%19 = sdiv i32 %18, 2
call void @swap(ptr noundef %14, i32 noundef %15, i32 noundef %19)
%20 = load i32, ptr %5, align 4
store i32 %20, ptr %8, align 4
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %.lr.ph, label %51
.lr.ph: ; preds = %13
br label %26
26: ; preds = %.lr.ph, %45
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %27, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = call i64 @strcmp(ptr noundef %31, ptr noundef %36)
%38 = icmp slt i64 %37, 0
br i1 %38, label %39, label %44
39: ; preds = %26
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %8, align 4
%43 = load i32, ptr %7, align 4
call void @swap(ptr noundef %40, i32 noundef %42, i32 noundef %43)
br label %44
44: ; preds = %39, %26
br label %45
45: ; preds = %44
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %7, align 4
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp sle i32 %48, %49
br i1 %50, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %51
51: ; preds = %._crit_edge, %13
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr %8, align 4
call void @swap(ptr noundef %52, i32 noundef %53, i32 noundef %54)
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %5, align 4
%57 = load i32, ptr %8, align 4
%58 = sub nsw i32 %57, 1
call void @qsort(ptr noundef %55, i32 noundef %56, i32 noundef %58)
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %8, align 4
%61 = add nsw i32 %60, 1
%62 = load i32, ptr %6, align 4
call void @qsort(ptr noundef %59, i32 noundef %61, i32 noundef %62)
br label %63
63: ; preds = %51, %12
ret void
}
declare void @swap(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqz833qd0.c'
source_filename = "/tmp/tmpqz833qd0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XKeyPressedEvent_type(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, 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/tmpqz833qd0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XKeyPressedEvent_type(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, 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/tmpg_a3ltt5.c'
source_filename = "/tmp/tmpg_a3ltt5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"RETURNED %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 i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i64 1, ptr %7, align 8
%8 = call i32 @A(i32 noundef 0)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %6, align 4
%12 = call i32 @A(i32 noundef 0)
%13 = icmp ne i32 %11, %12
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 1, ptr %3, align 4
br label %16
15: ; preds = %2
store i32 0, ptr %3, align 4
br label %16
16: ; preds = %15, %14
%17 = load i32, ptr %3, align 4
ret i32 %17
}
declare i32 @A(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg_a3ltt5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"RETURNED %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 i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i64 1, ptr %7, align 8
%8 = call i32 @A(i32 noundef 0)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %6, align 4
%12 = call i32 @A(i32 noundef 0)
%13 = icmp ne i32 %11, %12
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 1, ptr %3, align 4
br label %16
15: ; preds = %2
store i32 0, ptr %3, align 4
br label %16
16: ; preds = %15, %14
%17 = load i32, ptr %3, align 4
ret i32 %17
}
declare i32 @A(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprffnvpyh.c'
source_filename = "/tmp/tmprffnvpyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"\1B[34mLoop for (n): \1B[0m\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"\1B[31m%d\0A\1B[0m\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"\1B[32mDone\0A\1B[0m\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
store i32 0, ptr %7, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
br label %10
10: ; preds = %14, %2
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %14, label %20
14: ; preds = %10
%15 = load i32, ptr %7, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
%17 = load i32, ptr %7, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %7, align 4
%19 = call i32 @sleep(i32 noundef 1)
br label %10, !llvm.loop !6
20: ; preds = %10
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprffnvpyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"\1B[34mLoop for (n): \1B[0m\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"\1B[31m%d\0A\1B[0m\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"\1B[32mDone\0A\1B[0m\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
store i32 0, ptr %7, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %13
%14 = load i32, ptr %7, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14)
%16 = load i32, ptr %7, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %7, align 4
%18 = call i32 @sleep(i32 noundef 1)
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %22
22: ; preds = %._crit_edge, %2
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_13w2ctf.c'
source_filename = "/tmp/tmp_13w2ctf.c"
target datalayout = "e-m:e-p270: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_13w2ctf.c"
target datalayout = "e-m:e-p270: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/tmpq3zg97d_.c'
source_filename = "/tmp/tmpq3zg97d_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rdk_write_data_flash(ptr noundef %0, i16 noundef zeroext %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i16 %1, ptr %5, align 2
store i64 %2, ptr %6, align 8
%7 = call i32 (...) @rdk_meta_init()
%8 = load ptr, ptr %4, align 8
%9 = load i16, ptr %5, align 2
%10 = load i64, ptr %6, align 8
%11 = call i32 @write_data_flash(ptr noundef %8, i16 noundef zeroext %9, i64 noundef %10)
ret void
}
declare i32 @rdk_meta_init(...) #1
declare i32 @write_data_flash(ptr noundef, i16 noundef zeroext, 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/tmpq3zg97d_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rdk_write_data_flash(ptr noundef %0, i16 noundef zeroext %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i16 %1, ptr %5, align 2
store i64 %2, ptr %6, align 8
%7 = call i32 (...) @rdk_meta_init()
%8 = load ptr, ptr %4, align 8
%9 = load i16, ptr %5, align 2
%10 = load i64, ptr %6, align 8
%11 = call i32 @write_data_flash(ptr noundef %8, i16 noundef zeroext %9, i64 noundef %10)
ret void
}
declare i32 @rdk_meta_init(...) #1
declare i32 @write_data_flash(ptr noundef, i16 noundef zeroext, 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/tmpdcywyg44.c'
source_filename = "/tmp/tmpdcywyg44.c"
target datalayout = "e-m:e-p270: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/tmpdcywyg44.c"
target datalayout = "e-m:e-p270: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/tmpbhd6_hl9.c'
source_filename = "/tmp/tmpbhd6_hl9.c"
target datalayout = "e-m:e-p270: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/tmpbhd6_hl9.c"
target datalayout = "e-m:e-p270: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/tmpjcspechs.c'
source_filename = "/tmp/tmpjcspechs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%5d : '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printit(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, ptr noundef %6)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjcspechs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%5d : '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printit(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, ptr noundef %6)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpza7vtqgu.c'
source_filename = "/tmp/tmpza7vtqgu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 73, ptr %3, align 4
store i32 74, ptr %4, align 4
%6 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %6, ptr %2, align 4
br label %7
7: ; preds = %10, %0
%8 = load i32, ptr %2, align 4
%9 = icmp sge i32 %8, 0
br i1 %9, label %10, label %19
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = sub nsw i32 %11, %12
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %3, align 4
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
br label %7, !llvm.loop !6
19: ; preds = %7
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpza7vtqgu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 73, ptr %3, align 4
store i32 74, ptr %4, align 4
%6 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp sge i32 %7, 0
br i1 %8, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = sub nsw i32 %10, %11
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %3, align 4
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp sge i32 %18, 0
br i1 %19, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %20
20: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp4gb0u7eo.c'
source_filename = "/tmp/tmp4gb0u7eo.c"
target datalayout = "e-m:e-p270: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_RDONLY = 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/tmp4gb0u7eo.c"
target datalayout = "e-m:e-p270: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_RDONLY = 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/tmpityt00c3.c'
source_filename = "/tmp/tmpityt00c3.c"
target datalayout = "e-m:e-p270: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/tmpityt00c3.c"
target datalayout = "e-m:e-p270: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/tmp359vxvj6.c'
source_filename = "/tmp/tmp359vxvj6.c"
target datalayout = "e-m:e-p270: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
@EXIT_SUCCESS = dso_local global i32 0, align 4
@optind = 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/tmp359vxvj6.c"
target datalayout = "e-m:e-p270: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
@EXIT_SUCCESS = dso_local global i32 0, align 4
@optind = 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/tmpcil0393b.c'
source_filename = "/tmp/tmpcil0393b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [97 x i8] c"%s have to be started with the address and the port number of the server and the string to send\0A\00", align 1
@.str.1 = private unnamed_addr constant [129 x i8] c"example: %s \22127.0.0.1\22 10000 \22status\22 will start a client connected on the server 127.0.0.1:10000 ans wend the string status\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5)
%7 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcil0393b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [97 x i8] c"%s have to be started with the address and the port number of the server and the string to send\0A\00", align 1
@.str.1 = private unnamed_addr constant [129 x i8] c"example: %s \22127.0.0.1\22 10000 \22status\22 will start a client connected on the server 127.0.0.1:10000 ans wend the string status\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5)
%7 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6tfwqyrh.c'
source_filename = "/tmp/tmp6tfwqyrh.c"
target datalayout = "e-m:e-p270: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/tmp6tfwqyrh.c"
target datalayout = "e-m:e-p270: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_83w_1__.c'
source_filename = "/tmp/tmp_83w_1__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myReshape(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 = load i64, ptr %4, align 8
%7 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i64 noundef %5, i64 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = load i64, ptr %3, align 8
%12 = trunc i64 %11 to i32
%13 = load i64, ptr %4, align 8
%14 = trunc i64 %13 to i32
%15 = sdiv i32 %12, %14
%16 = call i32 @gluPerspective(double noundef 4.000000e+01, i32 noundef %15, double noundef 1.000000e+00, double noundef 1.000000e+02)
%17 = load i32, ptr @GL_MODELVIEW, align 4
%18 = call i32 @glMatrixMode(i32 noundef %17)
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i64 noundef, i64 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluPerspective(double noundef, i32 noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_83w_1__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myReshape(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 = load i64, ptr %4, align 8
%7 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i64 noundef %5, i64 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = load i64, ptr %3, align 8
%12 = trunc i64 %11 to i32
%13 = load i64, ptr %4, align 8
%14 = trunc i64 %13 to i32
%15 = sdiv i32 %12, %14
%16 = call i32 @gluPerspective(double noundef 4.000000e+01, i32 noundef %15, double noundef 1.000000e+00, double noundef 1.000000e+02)
%17 = load i32, ptr @GL_MODELVIEW, align 4
%18 = call i32 @glMatrixMode(i32 noundef %17)
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i64 noundef, i64 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluPerspective(double noundef, i32 noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5skye0c7.c'
source_filename = "/tmp/tmp5skye0c7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IEEE11073_to_float(i32 noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
%5 = load i32, ptr %3, align 4
%6 = load i8, ptr %4, align 1
%7 = sitofp i8 %6 to double
%8 = call i32 @pow(double noundef 1.000000e+01, double noundef %7)
%9 = mul nsw i32 %5, %8
%10 = sitofp i32 %9 to float
ret float %10
}
declare i32 @pow(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5skye0c7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IEEE11073_to_float(i32 noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
%5 = load i32, ptr %3, align 4
%6 = load i8, ptr %4, align 1
%7 = sitofp i8 %6 to double
%8 = call i32 @pow(double noundef 1.000000e+01, double noundef %7)
%9 = mul nsw i32 %5, %8
%10 = sitofp i32 %9 to float
ret float %10
}
declare i32 @pow(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvj0unwnp.c'
source_filename = "/tmp/tmpvj0unwnp.c"
target datalayout = "e-m:e-p270: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/tmpvj0unwnp.c"
target datalayout = "e-m:e-p270: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/tmp21npmtrn.c'
source_filename = "/tmp/tmp21npmtrn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"sent: %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @writeTest(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @netWrite(i32 noundef %4, ptr noundef @.str, i32 noundef 4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = call i32 @netSleep(i32 noundef 1000)
ret void
}
declare i32 @netWrite(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @netSleep(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/tmp21npmtrn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"sent: %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @writeTest(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @netWrite(i32 noundef %4, ptr noundef @.str, i32 noundef 4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = call i32 @netSleep(i32 noundef 1000)
ret void
}
declare i32 @netWrite(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @netSleep(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/tmpszp886k_.c'
source_filename = "/tmp/tmpszp886k_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i64, ptr %6, align 8
%10 = call ptr @__memset(ptr noundef %7, i32 noundef %8, i64 noundef %9)
ret ptr %10
}
declare ptr @__memset(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpszp886k_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i64, ptr %6, align 8
%10 = call ptr @__memset(ptr noundef %7, i32 noundef %8, i64 noundef %9)
ret ptr %10
}
declare ptr @__memset(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpejb8wf8h.c'
source_filename = "/tmp/tmpejb8wf8h.c"
target datalayout = "e-m:e-p270: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/tmpejb8wf8h.c"
target datalayout = "e-m:e-p270: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/tmpa2elv6bc.c'
source_filename = "/tmp/tmpa2elv6bc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn2() #0 {
%1 = call i32 (...) @fn1()
ret i32 0
}
declare i32 @fn1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa2elv6bc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn2() #0 {
%1 = call i32 (...) @fn1()
ret i32 0
}
declare i32 @fn1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgm66wkdo.c'
source_filename = "/tmp/tmpgm66wkdo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"STEAM_API_RUN_CALLBACKS\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SteamAPI_RunCallbacks() #0 {
%1 = call i32 @getEnvInt(ptr noundef @.str, i32 noundef 1)
%2 = icmp ne i32 %1, 0
br i1 %2, label %4, label %3
3: ; preds = %0
br label %4
4: ; preds = %3, %0
ret void
}
declare i32 @getEnvInt(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/tmpgm66wkdo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"STEAM_API_RUN_CALLBACKS\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SteamAPI_RunCallbacks() #0 {
%1 = call i32 @getEnvInt(ptr noundef @.str, i32 noundef 1)
%2 = icmp ne i32 %1, 0
br i1 %2, label %4, label %3
3: ; preds = %0
br label %4
4: ; preds = %3, %0
ret void
}
declare i32 @getEnvInt(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/tmp4slv7dtg.c'
source_filename = "/tmp/tmp4slv7dtg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"%s (%s) %s\0A%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"udp-server\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c":-|\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_version() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4slv7dtg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"%s (%s) %s\0A%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"udp-server\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c":-|\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_version() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpap0sfw_x.c'
source_filename = "/tmp/tmpap0sfw_x.c"
target datalayout = "e-m:e-p270: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/tmpap0sfw_x.c"
target datalayout = "e-m:e-p270: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/tmpgvq441hb.c'
source_filename = "/tmp/tmpgvq441hb.c"
target datalayout = "e-m:e-p270: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.A = private unnamed_addr constant [3 x [3 x i32]] [[3 x i32] [i32 1, i32 2, i32 3], [3 x i32] [i32 4, i32 5, i32 6], [3 x i32] [i32 7, i32 8, i32 9]], align 16
@__const.main.B = private unnamed_addr constant [3 x [3 x i32]] [[3 x i32] [i32 11, i32 12, i32 13], [3 x i32] [i32 14, i32 15, i32 16], [3 x i32] [i32 17, i32 18, i32 19]], align 16
@.str = private unnamed_addr constant [15 x i8] c"A inicialmente\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"B inicialmente\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"A = A * 2\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"B = B * 2\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"A x B\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x [3 x i32]], align 16
%3 = alloca [3 x [3 x i32]], align 16
%4 = alloca [3 x [3 x i32]], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.A, i64 36, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.B, i64 36, i1 false)
%5 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 0
%6 = call i32 @print_matrix(ptr noundef @.str, ptr noundef %5)
%7 = getelementptr inbounds [3 x [3 x i32]], ptr %3, i64 0, i64 0
%8 = call i32 @print_matrix(ptr noundef @.str.1, ptr noundef %7)
%9 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 0
%10 = call i32 @scalar_product(ptr noundef %9, i32 noundef 2)
%11 = getelementptr inbounds [3 x [3 x i32]], ptr %3, i64 0, i64 0
%12 = call i32 @scalar_product(ptr noundef %11, i32 noundef 2)
%13 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 0
%14 = call i32 @print_matrix(ptr noundef @.str.2, ptr noundef %13)
%15 = getelementptr inbounds [3 x [3 x i32]], ptr %3, i64 0, i64 0
%16 = call i32 @print_matrix(ptr noundef @.str.3, ptr noundef %15)
%17 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 0
%18 = getelementptr inbounds [3 x [3 x i32]], ptr %3, i64 0, i64 0
%19 = getelementptr inbounds [3 x [3 x i32]], ptr %4, i64 0, i64 0
%20 = call i32 @vector_product(ptr noundef %17, ptr noundef %18, ptr noundef %19)
%21 = getelementptr inbounds [3 x [3 x i32]], ptr %4, i64 0, i64 0
%22 = call i32 @print_matrix(ptr noundef @.str.4, ptr noundef %21)
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 @print_matrix(ptr noundef, ptr noundef) #2
declare i32 @scalar_product(ptr noundef, i32 noundef) #2
declare i32 @vector_product(ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgvq441hb.c"
target datalayout = "e-m:e-p270: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.A = private unnamed_addr constant [3 x [3 x i32]] [[3 x i32] [i32 1, i32 2, i32 3], [3 x i32] [i32 4, i32 5, i32 6], [3 x i32] [i32 7, i32 8, i32 9]], align 16
@__const.main.B = private unnamed_addr constant [3 x [3 x i32]] [[3 x i32] [i32 11, i32 12, i32 13], [3 x i32] [i32 14, i32 15, i32 16], [3 x i32] [i32 17, i32 18, i32 19]], align 16
@.str = private unnamed_addr constant [15 x i8] c"A inicialmente\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"B inicialmente\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"A = A * 2\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"B = B * 2\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"A x B\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x [3 x i32]], align 16
%3 = alloca [3 x [3 x i32]], align 16
%4 = alloca [3 x [3 x i32]], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.A, i64 36, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.B, i64 36, i1 false)
%5 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 0
%6 = call i32 @print_matrix(ptr noundef @.str, ptr noundef %5)
%7 = getelementptr inbounds [3 x [3 x i32]], ptr %3, i64 0, i64 0
%8 = call i32 @print_matrix(ptr noundef @.str.1, ptr noundef %7)
%9 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 0
%10 = call i32 @scalar_product(ptr noundef %9, i32 noundef 2)
%11 = getelementptr inbounds [3 x [3 x i32]], ptr %3, i64 0, i64 0
%12 = call i32 @scalar_product(ptr noundef %11, i32 noundef 2)
%13 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 0
%14 = call i32 @print_matrix(ptr noundef @.str.2, ptr noundef %13)
%15 = getelementptr inbounds [3 x [3 x i32]], ptr %3, i64 0, i64 0
%16 = call i32 @print_matrix(ptr noundef @.str.3, ptr noundef %15)
%17 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 0
%18 = getelementptr inbounds [3 x [3 x i32]], ptr %3, i64 0, i64 0
%19 = getelementptr inbounds [3 x [3 x i32]], ptr %4, i64 0, i64 0
%20 = call i32 @vector_product(ptr noundef %17, ptr noundef %18, ptr noundef %19)
%21 = getelementptr inbounds [3 x [3 x i32]], ptr %4, i64 0, i64 0
%22 = call i32 @print_matrix(ptr noundef @.str.4, ptr noundef %21)
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 @print_matrix(ptr noundef, ptr noundef) #2
declare i32 @scalar_product(ptr noundef, i32 noundef) #2
declare i32 @vector_product(ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.