Skip to content

Commit 891380b

Browse files
author
Louis Jenkins
committed
Updating to prepare for release 1.1
1 parent 9ec6b7e commit 891380b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+462
-54
lines changed

.DS_Store

8 KB
Binary file not shown.

README.md

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,49 @@
1-
# llvm-jvm-gui
2-
(Swing) GUI for LLVM-JVM project
1+
# LLVM GUI
2+
3+
This tool allows you to run simple C programs in a code editor, select an order of optimizations, and even view
4+
the control-flow-graph, dominator tree, or the post-dominator tree. This is a pedagogical tool that has been
5+
adopted from the [GUI](https://github.com/LouisJenkinsCS/llvm-jvm-gui) used in my [LLVM-JVM project](https://github.com/LouisJenkinsCS/LLVM-JVM).
6+
This has been modified to run C code rather than requiring the LLVM-JVM to compile Java down to Bytecode and then down to LLVM IR.
7+
8+
## Build Instructions
9+
10+
**Dependencies**
11+
12+
* `clang`
13+
* `llvm`
14+
15+
**Build from Release**
16+
17+
18+
'java -jar LLVM-Simple-GUI.jar [filename]' where 'filename' is an optional C file.
19+
20+
**Build from Source**
21+
22+
Advised to use NetBeans, as no Makefile will be provided!
23+
24+
## What does it do?
25+
26+
**Includes a Code Editor with basic [Syntax Highlighting](https://github.com/bobbylight/RSyntaxTextArea)!**
27+
28+
![CodeEditor](screenshots/CodeEditor.png)
29+
30+
**See the CFG, DOM Tree, and POSTDOM Tree!**
31+
32+
![CFG](screenshots/CFG.png)
33+
![DOM](screenshots/DOM.png)
34+
![POSTDOM](screenshots/POSTDOM.png)
35+
36+
**Select from various optimizations**
37+
38+
![OptimizationPanel](screenshots/OptimizationsPanel.png)
39+
40+
**See Before-And-After Transformations!**
41+
42+
![CFG](screenshots/CFG.png)
43+
![After-Optimization](screenshots/After-Optimization.png)
44+
45+
**View Basic Block Headers Only for Larger Functions!**
46+
47+
![CFG Header](screenshots/CFG-Headers.png)
48+
![DOM Header](screenshots/DOM-Headers.png)
49+
![POSTDOM Header](screenshots/POSTDOM-Headers.png)

build/classes/.netbeans_automatic_build

Whitespace-only changes.

build/classes/.netbeans_update_resources

Whitespace-only changes.
32 Bytes
Binary file not shown.
78 Bytes
Binary file not shown.
30 Bytes
Binary file not shown.
73 Bytes
Binary file not shown.
73 Bytes
Binary file not shown.
73 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)