# loop-invariant code motion

> code statements that can be moved outside the body of a loop without affecting the semantics of the program

**Wikidata**: [Q538985](https://www.wikidata.org/wiki/Q538985)  
**Wikipedia**: [English](https://en.wikipedia.org/wiki/Loop-invariant_code_motion)  
**Source**: https://4ort.xyz/entity/loop-invariant-code-motion
