[IR] Pushed IRLoop into IRBuilder since it is builder-specific.