Update -mlir-print-ir-* flag names in comments and scripts. (#8884)

Following https://github.com/google/iree/pull/8860 (which includes https://reviews.llvm.org/D123495)
diff --git a/docs/developers/developing_iree/developer_overview.md b/docs/developers/developing_iree/developer_overview.md
index 4a4d27a..439b3f5 100644
--- a/docs/developers/developing_iree/developer_overview.md
+++ b/docs/developers/developing_iree/developer_overview.md
@@ -82,7 +82,7 @@
 ```shell
 $ ../iree-build/iree/tools/iree-opt \
   -split-input-file \
-  -print-ir-before-all \
+  -mlir-print-ir-before-all \
   -iree-drop-compiler-hints \
   $PWD/iree/compiler/Dialect/Util/Transforms/test/drop_compiler_hints.mlir
 ```
diff --git a/iree/hal/local/executable_library_benchmark.md b/iree/hal/local/executable_library_benchmark.md
index d8c17c9..e988fbd 100644
--- a/iree/hal/local/executable_library_benchmark.md
+++ b/iree/hal/local/executable_library_benchmark.md
@@ -120,7 +120,7 @@
     -iree-hal-target-backends=dylib-llvm-aot \
     -iree-llvm-debug-symbols=false \
     -iree-llvm-target-triple=x86_64-pc-linux-elf \
-    -print-ir-after-all \
+    -mlir-print-ir-after-all \
     >module_dump.mlir 2>&1
 ```
 
diff --git a/iree/samples/custom_modules/dialect/custom-translate-main.cc b/iree/samples/custom_modules/dialect/custom-translate-main.cc
index c61a62d..b8f0c55 100644
--- a/iree/samples/custom_modules/dialect/custom-translate-main.cc
+++ b/iree/samples/custom_modules/dialect/custom-translate-main.cc
@@ -69,7 +69,7 @@
   // Register assembly printer command-line options like
   // -mlir-print-op-generic.
   mlir::registerAsmPrinterCLOptions();
-  // Register pass manager command-line options like -print-ir-*.
+  // Register pass manager command-line options like -mlir-print-ir-*.
   mlir::registerPassManagerCLOptions();
 
   // Add flags for all the registered translations.
diff --git a/iree/tools/iree-run-mlir-main.cc b/iree/tools/iree-run-mlir-main.cc
index dae0706..9fdd444 100644
--- a/iree/tools/iree-run-mlir-main.cc
+++ b/iree/tools/iree-run-mlir-main.cc
@@ -509,7 +509,7 @@
   // Register assembly printer command-line options like
   // -mlir-print-op-generic.
   mlir::registerAsmPrinterCLOptions();
-  // Register pass manager command-line options like -print-ir-*.
+  // Register pass manager command-line options like -mlir-print-ir-*.
   mlir::registerPassManagerCLOptions();
 
   llvm::InitLLVM init_llvm(argc_llvm, argv_llvm);
diff --git a/iree/tools/iree_compile_lib.cc b/iree/tools/iree_compile_lib.cc
index a6dae52..8f9c111 100644
--- a/iree/tools/iree_compile_lib.cc
+++ b/iree/tools/iree_compile_lib.cc
@@ -91,7 +91,7 @@
   // Register assembly printer command-line options like
   // -mlir-print-op-generic.
   mlir::registerAsmPrinterCLOptions();
-  // Register pass manager command-line options like -print-ir-*.
+  // Register pass manager command-line options like -mlir-print-ir-*.
   mlir::registerPassManagerCLOptions();
   mlir::registerDefaultTimingManagerCLOptions();
 
diff --git a/iree/tools/iree_translate_lib.cc b/iree/tools/iree_translate_lib.cc
index 301dbe0..66ebb14 100644
--- a/iree/tools/iree_translate_lib.cc
+++ b/iree/tools/iree_translate_lib.cc
@@ -62,7 +62,7 @@
   // Register assembly printer command-line options like
   // -mlir-print-op-generic.
   mlir::registerAsmPrinterCLOptions();
-  // Register pass manager command-line options like -print-ir-*.
+  // Register pass manager command-line options like -mlir-print-ir-*.
   mlir::registerPassManagerCLOptions();
   mlir::registerDefaultTimingManagerCLOptions();
 
diff --git a/llvm-external-projects/iree-compiler-api/python/iree/compiler/tools/core.py b/llvm-external-projects/iree-compiler-api/python/iree/compiler/tools/core.py
index 67e3527..63d63df 100644
--- a/llvm-external-projects/iree-compiler-api/python/iree/compiler/tools/core.py
+++ b/llvm-external-projects/iree-compiler-api/python/iree/compiler/tools/core.py
@@ -107,8 +107,8 @@
       the option. Typically used for debugging Defaults to
       `OutputFormat.FLATBUFFER_BINARY`.
     extra_args: Optional list of additional arguments to pass to the compiler.
-      Example: ["--print-ir-after-all", "-some-other-arg"]. Individual arguments
-      must be separate items in the list.
+      Example: ["--mlir-print-ir-after-all", "-some-other-arg"]. Individual
+      arguments must be separate items in the list.
     optimize: Whether to apply some default high level optimizations (default
       True).
     output_mlir_debuginfo: Include debuginfo (including paths) in any saved or
diff --git a/llvm-external-projects/iree-compiler-api/python/iree/compiler/tools/debugging.py b/llvm-external-projects/iree-compiler-api/python/iree/compiler/tools/debugging.py
index 0c85b85..903d8d7 100644
--- a/llvm-external-projects/iree-compiler-api/python/iree/compiler/tools/debugging.py
+++ b/llvm-external-projects/iree-compiler-api/python/iree/compiler/tools/debugging.py
@@ -11,7 +11,8 @@
 * `crash_reproducer_path=... some .mlir file path...` - On a crash or error,\
   a reproducer will be output at the listed path.
 * `extra_args=[...]` - Passes extra arguments to the compiler. Useful for \
-  various standard features of MLIR based compilers like `-print-ir-after-all`.
+  various standard features of MLIR based compilers like
+  `-mlir-print-ir-after-all`.
 
 
 In addition, the core compiler and frontend compiler APIs have a unified
diff --git a/scripts/ir_to_markdown.py b/scripts/ir_to_markdown.py
index 952797c..af9a500 100644
--- a/scripts/ir_to_markdown.py
+++ b/scripts/ir_to_markdown.py
@@ -13,8 +13,8 @@
     -iree-transformation-pipeline \
     -iree-hal-target-backends=vmvx \
     -mlir-disable-threading \
-    -print-ir-after-all \
-    -print-ir-after-change \
+    -mlir-print-ir-after-all \
+    -mlir-print-ir-after-change \
     -mlir-elide-elementsattrs-if-larger=8 \
     $PWD/iree/samples/models/simple_abs.mlir \
     2> /tmp/simple_abs_vmvx_pipeline.mlir
@@ -37,11 +37,12 @@
   """Parses command line arguments."""
 
   parser = argparse.ArgumentParser()
-  parser.add_argument('input_file_path',
-                      type=str,
-                      nargs='?',
-                      metavar="<input_file_path>",
-                      help='Input IR dump (.mlir from -print-ir-after-all)')
+  parser.add_argument(
+      'input_file_path',
+      type=str,
+      nargs='?',
+      metavar="<input_file_path>",
+      help='Input IR dump (.mlir from -mlir-print-ir-after-all)')
   parser.add_argument('-o,',
                       '--output',
                       type=str,