An end to end IR stack for deep learning systems