Skip to content

Latest commit

 

History

71 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compilers-cs6120

Compiler implementations for CS 6120 at Cornell using the Bril IR and the LLVM IR.

  • Basic block construction
  • Control flow graph construction
  • Local dead code elimination
  • Global dead code elimination
  • Local value numbering
  • Dataflow analysis (reaching definitions with worklist algorithm)
  • Dominance relation, Dominator tree, and dominance frontier computation on CFGs
  • Into SSA and out of SSA transformations
  • LLVM Passes (e.g. simple loop fusion pass)

Primary implementations for Bril in C++ in src/. LLVM passes in llvm/. Tests and benchmarking in tests/. Legacy Python implementations in python/.

About

Compiler Optimization and Runtime Projects

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages