Expand description
KECC: KAIST Educational C Compiler.
Re-exportsยง
pub use ir::Parse as IrParse;
pub use ir::Visualizer as IrVisualizer;
Modulesยง
- asmgen ๐
- c ๐
- The intermediate representation.
- irgen ๐Homework: IR Generation
- opt ๐
- tests ๐
- utils ๐
- write_
base ๐
Macrosยง
- Ok or exiting the process.
- Some or exiting the process.
Structsยง
- A C file going through IR generation.
- C file Parser.
- Simplifies block exits by propagating constants.
- Removes empty blocks
- Merges two blocks if a block is pointed to only by another
- Retains only those blocks that are reachable from the init.
Traitsยง
- Trait to check if a type can be translated.
- Essentially the same as
PartialEq
. - Translates
S
toTranslate::Target
.
Functionsยง
- Tests asmgen.
- Tests end-to-end translation.
- Tests irgen.
- Tests irparse.
- Tests optimizations.
- Tests write_c.
- Write
t
towrite
.