This patch updates WritingAnLLVMPass.rst to make it in line with current state of things.
Specifically:
- Makefile instructions replaced with CMake ones
- Filenames replaced with correct ones
- Example reformatted a bit to make it less confusing and more conforming to LLVM Coding Standards
- opt tool output updated with what it actually prints nowdays
- "gcse" (which doesn't exist anymore) replaced with "gvn" (which still does)
Yours,
Andrey