Learning the frontend phases with Clang