[docs] Replace `opt -analyze` with better alternatives.
authorArthur Eubanks <aeubanks@google.com>
Thu, 10 Feb 2022 22:24:04 +0000 (14:24 -0800)
committerArthur Eubanks <aeubanks@google.com>
Thu, 10 Feb 2022 23:38:31 +0000 (15:38 -0800)
commit2fa87ab52476fcf5554c0e57a555dcc10b8730e1
treec00da83e2f49819bca1f0ae48250feae6b623fb7
parent4ef02cba2ef3fdb49c33d014dd8f4034ef9cb4cb
[docs] Replace `opt -analyze` with better alternatives.

`opt -analyze` is legacy PM-specific. Show better ways of doing the same
thing, generally with some sort of `-passes=print<foo>`.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D119486
llvm/docs/CommandGuide/opt.rst
llvm/docs/LoopTerminology.rst
llvm/docs/TestingGuide.rst
llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl05.rst
llvm/include/llvm/Analysis/RegionInfo.h
llvm/utils/update_analyze_test_checks.py