doc: separate out polyhedral compilation functionality