Mod/ref analysis
The analysis that decides whether an instruction or a call may modify (mod) or read (ref) a given memory location.
It asks a narrower question than alias analysis, which is what makes it useful. Knowing that two pointers might overlap isn't enough; the optimizer wants to know whether strlen(s) can change what p points to. The answer is one of four — nothing, read only, write only, or both — and it decides whether loads may move past the call and whether a value can stay in a register.
John Banning framed the problem for procedures as early as 1979. In LLVM, ModRefInfo is part of the alias analysis interface, and conclusions are recorded as function attributes, these days memory(none) and memory(read). GCC gained a dedicated interprocedural pass in 2021, ipa-modref, which summarizes exactly which parts of its arguments a function touches.