Toy compiler from the LLVM tutorial