[LAA] Use EarliestEscapeAnalysis for alias queries. (#228179)
Using EarliestEscapeAnalysis improves results in a number of cases,
where we are able to rule out aliasing for pointers that only escape
after the loop.
This removes unneeded memory runtime checks in a large number of cases
in https://github.com/dtcxzyw/llvm-opt-benchmark-nightly/pull/1554.
It is also slightly cheaper compile-time wise on CTMark, mostly due to
7zip compile-time reducing by -0.10% to -0.29% depending on config.
https://llvm-compile-time-tracker.com/compare.php?from=b3ed3886d7a5501eb740e3ff741e8d3547787a85&to=749eb1054cedbf963ca7daace4de5ad9d445d815&stat=instructions:u
PR: https://github.com/llvm/llvm-project/pull/228179