I think this should do the job:
$routes = $this->getContainer()->get('router')->getRouteCollection();
foreach ($routes as $route) {
// add to sitemap
}
This is the API info:
http://api.symfony.com/2.0/Symfony/Component/Routing/Router.html#method_getRouteCollection