If you can read fast enough, grepping is probably faster than waiting for a compiler to tell you anything.
An LLM can likely approach compiler-level knowledge just from being smart and understanding what it’s reading, but it costs a lot of context to do this. Giving the LLM access to what the compiler knows as an API seems like it’s a huge area for improvement.
OTOH for a giant monorepo, grep probably won’t work very well.