chiasmus

noun

1.
inversion in the second of two parallel phrases