Does the sentence use a simile or a metaphor?
Philip swam with ease across the swimming pool, like a dolphin.

 - metaphor
 - simile
Philip swam with ease across the swimming pool, like a dolphin.
The words Philip and dolphin are compared using the word like. So, the sentence uses a simile.