Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Добавить поддержку IR. #374

Draft
wants to merge 21 commits into
base: feature
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f8b4966
Add some basic IR functionality.
georgiy-belyanin Mar 21, 2023
5f82ce9
Remove unrelated old comment.
georgiy-belyanin Mar 21, 2023
52678dd
Remove old comments from ir.c.
georgiy-belyanin Mar 21, 2023
10e50c7
Add some support for unary expressions.
georgiy-belyanin Mar 21, 2023
abeb73e
Change ir_value const type name to immediate.
georgiy-belyanin Mar 22, 2023
380bb01
Change rvalue kind const name to imm.
georgiy-belyanin Mar 22, 2023
10a7f60
Move ir_module and ir_builder definition to .c file instead of .h.
georgiy-belyanin Mar 22, 2023
8ca1416
Add labels that are passed to platform-specific code generation funct…
georgiy-belyanin Mar 22, 2023
1d60494
Hotfix ir_label vars names not to be the same with a new struct name.
georgiy-belyanin Mar 23, 2023
3c277dc
Add doxygen group for ir.h, fix docs for ir_dump().
georgiy-belyanin Mar 23, 2023
9670a51
Provide IR instruction codes with their kinds, simplify dumping and e…
georgiy-belyanin Mar 26, 2023
98e7a1d
Add support of local variables.
georgiy-belyanin Mar 27, 2023
c476db8
Add support for unary and binary expressions in IR.
georgiy-belyanin Mar 30, 2023
22b796e
Update mipsgen to dump IR instead of codegeneration for testing purpo…
georgiy-belyanin Mar 30, 2023
7505d4e
Add support for mips code generation and extend ir functionality.
georgiy-belyanin Apr 4, 2023
c2c947e
Add support for binary operations in IR tree.
georgiy-belyanin Apr 4, 2023
79684c3
Hotfix errors in register generation.
georgiy-belyanin Apr 4, 2023
09423bc
Fix increment emmiting in IR. Add suport for basic function mips gene…
georgiy-belyanin Apr 9, 2023
b2392dc
Add support for strings, partial support for structs.
georgiy-belyanin Apr 18, 2023
34d741f
Remove IR tree dump.
georgiy-belyanin Apr 18, 2023
d97e750
Done some cleanup and hotfixes in mipsgen and ir.
georgiy-belyanin Apr 25, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading