diff --git a/bps b/bps deleted file mode 100644 index 25a2a43..0000000 --- a/bps +++ /dev/null @@ -1 +0,0 @@ -[{"Breakpoint":{"BKPTOptions":{"AutoContinue":false,"ConditionText":"","EnabledState":true,"IgnoreCount":0,"OneShotState":false},"BKPTResolver":{"Options":{"Column":0,"Exact":false,"FileName":"array.reid","Inlines":true,"LineNumber":6,"Offset":0,"SkipPrologue":true},"Type":"FileAndLine"},"Hardware":false,"SearchFilter":{"Options":{},"Type":"Unconstrained"}}},{"Breakpoint":{"BKPTOptions":{"AutoContinue":false,"ConditionText":"","EnabledState":true,"IgnoreCount":0,"OneShotState":true},"BKPTResolver":{"Options":{"Column":0,"Exact":false,"FileName":"/home/furret/dev/reid-llvm/reid_src/array.reid","Inlines":true,"LineNumber":4,"Offset":0,"SkipPrologue":true},"Type":"FileAndLine"},"Hardware":false,"SearchFilter":{"Options":{},"Type":"Unconstrained"}}}] diff --git a/otus b/otus deleted file mode 100755 index 1623b35..0000000 Binary files a/otus and /dev/null differ diff --git a/otus.c b/otus.c deleted file mode 100644 index 36bce10..0000000 --- a/otus.c +++ /dev/null @@ -1,8 +0,0 @@ -struct DivT { - int quot; - int rem; -}; - -extern struct DivT div(int num, int denom); - -int main() { return div(10, 5).quot; } \ No newline at end of file diff --git a/otus.ll b/otus.ll deleted file mode 100644 index cedb031..0000000 --- a/otus.ll +++ /dev/null @@ -1,33 +0,0 @@ -; ModuleID = 'otus.c' -source_filename = "otus.c" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" -target triple = "x86_64-pc-linux-gnu" - -%struct.DivT = type { i32, i32 } - -; Function Attrs: noinline nounwind optnone sspstrong uwtable -define dso_local i32 @main() #0 { - %1 = alloca i32, align 4 - %2 = alloca %struct.DivT, align 4 - store i32 0, ptr %1, align 4 - %3 = call i64 @div(i32 noundef 10, i32 noundef 5) - store i64 %3, ptr %2, align 4 - %4 = getelementptr inbounds %struct.DivT, ptr %2, i32 0, i32 0 - %5 = load i32, ptr %4, align 4 - ret i32 %5 -} - -declare i64 @div(i32 noundef, i32 noundef) #1 - -attributes #0 = { noinline nounwind optnone sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } - -!llvm.module.flags = !{!0, !1, !2, !3, !4} -!llvm.ident = !{!5} - -!0 = !{i32 1, !"wchar_size", i32 4} -!1 = !{i32 8, !"PIC Level", i32 2} -!2 = !{i32 7, !"PIE Level", i32 2} -!3 = !{i32 7, !"uwtable", i32 2} -!4 = !{i32 7, !"frame-pointer", i32 2} -!5 = !{!"clang version 19.1.7"}