What is it called when reversing a phrase doesn't mean the same as the original phrase?

Antimetabole and possibly Chiasmus.

http://grammar.about.com/od/ab/g/antimetabole.htm