Loop rotation
A rewrite that turns a while loop with its test at the top into a do-while with the test at the bottom, guarded by an if.
while (c) { body } becomes if (c) { do { body } while (c); }. The condition gets duplicated, but each iteration now costs one conditional branch instead of a conditional plus an unconditional one. The transformation also goes by loop inversion, and LLVM's pass is called loop-rotate.
The real point is what it unlocks for other passes. The outer if guarantees that once you are inside, the body runs at least once, so loop-invariant code motion can hoist computations without risking work that would never have happened. That is why rotation sits early in the pipeline — not for its own gain, but to tidy up the loop's shape for everything that follows.