Dependence analysis
The analysis that decides whether two memory accesses in a loop can hit the same address — and therefore whether iterations may be reordered.
A dependence is flow (read after write), anti (write after read) or output (write after write). What matters is whether it is loop-carried: in a[i] = a[i-1] + 1 each iteration needs the previous one, so the loop can be neither vectorised nor parallelised. In a[i] = b[i] + 1 there is no such dependence, and the compiler is free to process four or eight elements at a time.
For affine subscripts it reduces to an integer problem. The GCD test and Banerjee's test are fast and coarse; Bill Pugh's Omega test from 1991 is exact but costlier. Direction and distance vectors say which loop transformations are legal. Once pointers are involved the question is undecidable in general, and caution wins — which is why restrict can sometimes double the speed.