Added basic first pass at IR