Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Xiaofan Wang
csc2021_nku_compile
Commits
f6438153
Commit
f6438153
authored
3 years ago
by
Faridat Ziyu
Browse files
Options
Download
Patches
Plain Diff
init branch xzylab7
parent
d0164fd4
Changes
220
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
lab7/.gitignore
+12
-0
lab7/.gitignore
lab7/Makefile
+156
-0
lab7/Makefile
lab7/README.md
+93
-0
lab7/README.md
lab7/example.sy
+13
-0
lab7/example.sy
lab7/include/AsmBuilder.h
+26
-0
lab7/include/AsmBuilder.h
lab7/include/Ast.h
+187
-0
lab7/include/Ast.h
lab7/include/BasicBlock.h
+50
-0
lab7/include/BasicBlock.h
lab7/include/Function.h
+42
-0
lab7/include/Function.h
lab7/include/IRBuilder.h
+21
-0
lab7/include/IRBuilder.h
lab7/include/Instruction.h
+140
-0
lab7/include/Instruction.h
lab7/include/LinearScan.h
+48
-0
lab7/include/LinearScan.h
lab7/include/LiveVariableAnalysis.h
+26
-0
lab7/include/LiveVariableAnalysis.h
lab7/include/MachineCode.h
+209
-0
lab7/include/MachineCode.h
lab7/include/Operand.h
+35
-0
lab7/include/Operand.h
lab7/include/SymbolTable.h
+151
-0
lab7/include/SymbolTable.h
lab7/include/Type.h
+70
-0
lab7/include/Type.h
lab7/include/Unit.h
+28
-0
lab7/include/Unit.h
lab7/src/Ast.cpp
+365
-0
lab7/src/Ast.cpp
lab7/src/BasicBlock.cpp
+108
-0
lab7/src/BasicBlock.cpp
lab7/src/Function.cpp
+78
-0
lab7/src/Function.cpp
with
1858 additions
and
0 deletions
+1858
-0
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment