Chiasmus
In rhetoric, chiasmus or, less commonly, chiasm, is the reversal of grammatical structures in successive phrases or clauses without repetition of words. A similar device, antimetabole, also involves a reversal of grammatical structures in successive phrases or clauses in an A-B-B-A configuration, but unlike chiasmus, presents a repetition of words.