IRBuilder changes to generate IR