Skip to content

Alex's Compiler based on SSA, and it's just for learning

Notifications You must be signed in to change notification settings

alextsao1999/AlexCompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alex's Compiler

This is a simple compiler based on SSA just for learning purposes. And I hope it can generate multiple assembly for different target machines. Its IR is like llvm ir.

TODO:

  • Some Scalar Optimizations
  • Tree Pattern Matching (BURS or something like dfa)
  • SSA Pre
  • Construct SSA Linearlly
  • Transition out of SSA
  • Loop Optimization
  • Vectorization
  • Memory SSA

TARGETS:

  • RISCV
  • X86
  • ARM

About

Alex's Compiler based on SSA, and it's just for learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published