Last active
August 4, 2020 20:46
-
-
Save GMNGeoffrey/db6add0ca60759c2dcde0c3fa83ca1b9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--aarch64-neon-syntax=<value> --aarch64-neon-syntax=<value> | |
> --affine-data-copy-generate | |
--affine-loop-fusion --affine-loop-fusion | |
> --affine-loop-invariant-code-motion | |
> --affine-loop-tile | |
> --affine-loop-unroll-jam | |
> --affine-loop-unroll | |
> --affine-parallelize | |
--affine-pipeline-data-transfer --affine-pipeline-data-transfer | |
> --affine-super-vectorize | |
--allow-unregistered-dialect --allow-unregistered-dialect | |
=always =always | |
=annotated-mlir-text =annotated-mlir-text | |
=apple =apple | |
=arm =arm | |
--arm-add-build-attributes --arm-add-build-attributes | |
--arm-implicit-it=<value> --arm-implicit-it=<value> | |
--atomic-counter-update-promoted --atomic-counter-update-promoted | |
--atomic-first-counter --atomic-first-counter | |
--bounds-checking-single-trap --bounds-checking-single-trap | |
> --cache-size=<ulong> | |
--canonicalize --canonicalize | |
--cfg-hide-deoptimize-paths --cfg-hide-deoptimize-paths | |
--cfg-hide-unreachable-paths --cfg-hide-unreachable-paths | |
--collapsed-indices-0=<uint> --collapsed-indices-0=<uint> | |
--collapsed-indices-1=<uint> --collapsed-indices-1=<uint> | |
--collapsed-indices-2=<uint> --collapsed-indices-2=<uint> | |
Color Options: Color Options: | |
--color --color | |
=column-major =column-major | |
Compiler passes to run Compiler passes to run | |
> --convert-gpu-to-spirv | |
--convert-linalg-on-tensors-to-buffers --convert-linalg-on-tensors-to-buffers | |
--convert-linalg-to-affine-loops --convert-linalg-to-affine-loops | |
--convert-linalg-to-loops --convert-linalg-to-loops | |
--convert-linalg-to-parallel-loops --convert-linalg-to-parallel-loops | |
> --convert-linalg-to-spirv | |
--convert-shape-to-shapex --convert-shape-to-shapex | |
> --convert-std-to-spirv | |
--cse --cse | |
--cvp-dont-add-nowrap-flags --cvp-dont-add-nowrap-flags | |
--debugify-level=<value> --debugify-level=<value> | |
--debugify-quiet --debugify-quiet | |
=disabled =disabled | |
--disable-simplify --disable-simplify | |
--do-counter-promotion --do-counter-promotion | |
--enable-cse-in-irtranslator --enable-cse-in-irtranslator | |
--enable-cse-in-legalizer --enable-cse-in-legalizer | |
=enabled =enabled | |
=enabled-no-reductions =enabled-no-reductions | |
--enable-gvn-hoist --enable-gvn-hoist | |
--enable-gvn-memdep --enable-gvn-memdep | |
--enable-gvn-sink --enable-gvn-sink | |
--enable-load-in-loop-pre --enable-load-in-loop-pre | |
--enable-load-pre --enable-load-pre | |
--enable-loop-simplifycfg-term-folding --enable-loop-simplifycfg-term-folding | |
--enable-name-compression --enable-name-compression | |
--enable-npm-optnone --enable-npm-optnone | |
> --fast-mem-capacity=<ulong> | |
> --fast-mem-space=<uint> | |
--filename=<string> --filename=<string> | |
=flatbuffer-binary =flatbuffer-binary | |
=flatbuffer-text =flatbuffer-text | |
--fold-one-trip-loops-only --fold-one-trip-loops-only | |
=force-enabled =force-enabled | |
=force-enabled-no-reductions =force-enabled-no-reductions | |
--fusion-compute-tolerance=<number> --fusion-compute-tolerance=<number> | |
--fusion-fast-mem-space=<uint> --fusion-fast-mem-space=<uint> | |
--fusion-local-buf-threshold=<ulong> --fusion-local-buf-threshold=<ulong> | |
--fusion-maximal --fusion-maximal | |
General options: General options: | |
> --generate-dma | |
=generic =generic | |
Generic Options: Generic Options: | |
--hash-based-counter-split --hash-based-counter-split | |
--help --help | |
--help-list --help-list | |
--hot-cold-split --hot-cold-split | |
--import-all-index --import-all-index | |
--inline --inline | |
--instcombine-code-sinking --instcombine-code-sinking | |
--instcombine-guard-widening-window=<uint> --instcombine-guard-widening-window=<uint> | |
--instcombine-maxarray-size=<uint> --instcombine-maxarray-size=<uint> | |
--instcombine-max-iterations=<uint> --instcombine-max-iterations=<uint> | |
--instcombine-max-num-phis=<uint> --instcombine-max-num-phis=<uint> | |
--instcombine-negator-enabled --instcombine-negator-enabled | |
--instcombine-negator-max-depth=<uint> --instcombine-negator-max-depth=<uint> | |
--instrprof-atomic-counter-update-all --instrprof-atomic-counter-update-all | |
--internalize-public-api-file=<filename> --internalize-public-api-file=<filename> | |
--internalize-public-api-list=<list> --internalize-public-api-list=<list> | |
--iree-codegen-constrained-workgroup-count --iree-codegen-constrained-workgroup-count | |
--iree-codegen-convert-to-gpu --iree-codegen-convert-to-gpu | |
--iree-codegen-convert-to-llvm --iree-codegen-convert-to-llvm | |
--iree-codegen-convert-to-spirv --iree-codegen-convert-to-spirv | |
--iree-codegen-decompose-hlo-clamp --iree-codegen-decompose-hlo-clamp | |
--iree-codegen-hlo-to-linalg-on-buffers --iree-codegen-hlo-to-linalg-on-buffers | |
--iree-codegen-hlo-to-linalg-on-tensors --iree-codegen-hlo-to-linalg-on-tensors | |
--iree-codegen-hlo-to-linalg-pipeline --iree-codegen-hlo-to-linalg-pipeline | |
--iree-codegen-hlo-to-llvm-pipeline --iree-codegen-hlo-to-llvm-pipeline | |
--iree-codegen-hlo-to-spirv-pipeline --iree-codegen-hlo-to-spirv-pipeline | |
--iree-codegen-linalg-tile-and-fuse --iree-codegen-linalg-tile-and-fuse | |
--iree-codegen-linalg-to-llvm-matmul-l1-tile-size=<int> --iree-codegen-linalg-to-llvm-matmul-l1-tile-size=<int> | |
--iree-codegen-linalg-to-llvm-matmul-l2-tile-size=<int> --iree-codegen-linalg-to-llvm-matmul-l2-tile-size=<int> | |
--iree-codegen-linalg-to-llvm-matmul-l3-tile-size=<int> --iree-codegen-linalg-to-llvm-matmul-l3-tile-size=<int> | |
--iree-codegen-linalg-to-llvm-matmul-unroll-vector-transfer --iree-codegen-linalg-to-llvm-matmul-unroll-vector-transfer | |
--iree-codegen-linalg-to-llvm-matmul-vectorization-pass --iree-codegen-linalg-to-llvm-matmul-vectorization-pass | |
--iree-codegen-linalg-to-llvm-matmul-vector-op-lowerig=<str --iree-codegen-linalg-to-llvm-matmul-vector-op-lowerig=<str | |
--iree-codegen-linalg-to-llvm-pipeline --iree-codegen-linalg-to-llvm-pipeline | |
--iree-codegen-linalg-to-spirv-pipeline --iree-codegen-linalg-to-spirv-pipeline | |
--iree-codegen-resolve-shape --iree-codegen-resolve-shape | |
--iree-codegen-split-dispatch-function --iree-codegen-split-dispatch-function | |
--iree-codegen-use-legacy-conv-lowering --iree-codegen-use-legacy-conv-lowering | |
--iree-codegen-vector-to-gpu --iree-codegen-vector-to-gpu | |
--iree-convert-flow-to-hal --iree-convert-flow-to-hal | |
--iree-convert-hal-to-vm --iree-convert-hal-to-vm | |
--iree-convert-vmla-to-vm --iree-convert-vmla-to-vm | |
--iree-drop-compiler-hints --iree-drop-compiler-hints | |
--iree-extract-pad-from-conv --iree-extract-pad-from-conv | |
--iree-flow-dispatchability-analysis --iree-flow-dispatchability-analysis | |
--iree-flow-flatten-tuples-in-cfg --iree-flow-flatten-tuples-in-cfg | |
--iree-flow-fold-compatible-dispatch-regions --iree-flow-fold-compatible-dispatch-regions | |
--iree-flow-form-streams --iree-flow-form-streams | |
--iree-flow-hlo-to-hlo-preprocessing --iree-flow-hlo-to-hlo-preprocessing | |
--iree-flow-hoist-unstreamable-ops --iree-flow-hoist-unstreamable-ops | |
--iree-flow-identify-dispatch-regions2 --iree-flow-identify-dispatch-regions2 | |
--iree-flow-identify-dispatch-regions --iree-flow-identify-dispatch-regions | |
--iree-flow-legalize-input-types --iree-flow-legalize-input-types | |
--iree-flow-materialize-exported-reflection --iree-flow-materialize-exported-reflection | |
--iree-flow-merge-exported-reflection --iree-flow-merge-exported-reflection | |
--iree-flow-outline-dispatch-regions --iree-flow-outline-dispatch-regions | |
--iree-flow-post-partitioning-conversion --iree-flow-post-partitioning-conversion | |
--iree-flow-pre-partitioning-conversion --iree-flow-pre-partitioning-conversion | |
--iree-flow-rematerialize-dispatch-constants --iree-flow-rematerialize-dispatch-constants | |
--iree-flow-trace-dispatch-tensors --iree-flow-trace-dispatch-tensors | |
--iree-flow-transformation-pipeline --iree-flow-transformation-pipeline | |
IREE HAL executable target options: IREE HAL executable target options: | |
--iree-hal-inline-device-switches --iree-hal-inline-device-switches | |
--iree-hal-link-executables --iree-hal-link-executables | |
--iree-hal-materialize-interfaces --iree-hal-materialize-interfaces | |
--iree-hal-materialize-resource-caches --iree-hal-materialize-resource-caches | |
--iree-hal-memoize-device-queries --iree-hal-memoize-device-queries | |
--iree-hal-public-abi-generation --iree-hal-public-abi-generation | |
--iree-hal-serialize-executables --iree-hal-serialize-executables | |
--iree-hal-target-backends=<string> --iree-hal-target-backends=<string> | |
--iree-hal-transformation-pipeline --iree-hal-transformation-pipeline | |
--iree-hal-translate-executables --iree-hal-translate-executables | |
--iree-llvm-enable-msoft-float-abi --iree-llvm-enable-msoft-float-abi | |
--iree-llvm-target-triple=<string> --iree-llvm-target-triple=<string> | |
--iree-shape-cleanup-placeholders --iree-shape-cleanup-placeholders | |
--iree-shape-convert-hlo --iree-shape-convert-hlo | |
--iree-shape-expand-function-dynamic-dims --iree-shape-expand-function-dynamic-dims | |
--iree-shape-expand-function-ranked-shape-dims --iree-shape-expand-function-ranked-shape-dims | |
--iree-shape-hoist-shape-calculations --iree-shape-hoist-shape-calculations | |
--iree-shape-materialize-calculations --iree-shape-materialize-calculations | |
--iree-shape-tie-dynamic --iree-shape-tie-dynamic | |
--iree-spirv-workgroup-size=<uint> --iree-spirv-workgroup-size=<uint> | |
--iree-transformation-pipeline --iree-transformation-pipeline | |
--iree-vm-bytecode-module-optimize --iree-vm-bytecode-module-optimize | |
--iree-vm-bytecode-module-output-format=<value> --iree-vm-bytecode-module-output-format=<value> | |
--iree-vm-bytecode-module-strip-debug-ops --iree-vm-bytecode-module-strip-debug-ops | |
--iree-vm-bytecode-module-strip-source-map --iree-vm-bytecode-module-strip-source-map | |
--iree-vm-bytecode-module-strip-symbols --iree-vm-bytecode-module-strip-symbols | |
--iree-vm-conversion --iree-vm-conversion | |
--iree-vm-global-initialization --iree-vm-global-initialization | |
--iree-vmla-conversion --iree-vmla-conversion | |
--iree-vmla-pre-conversion-lowering --iree-vmla-pre-conversion-lowering | |
--iree-vmla-transformation-pipeline --iree-vmla-transformation-pipeline | |
--iree-vmla-unroll-reductions --iree-vmla-unroll-reductions | |
--iree-vm-mark-public-symbols-exported --iree-vm-mark-public-symbols-exported | |
--iree-vm-ordinal-allocation --iree-vm-ordinal-allocation | |
--iree-vm-transformation-pipeline --iree-vm-transformation-pipeline | |
--iree-vulkan-target-env=<string> --iree-vulkan-target-env=<string> | |
--iterative-counter-promotion --iterative-counter-promotion | |
=legalizations+artifactcombiners =legalizations+artifactcombiners | |
=legalizations =legalizations | |
> --legalize-std-for-spirv | |
--linalg-fold-unit-extent-dims --linalg-fold-unit-extent-dims | |
--linalg-fusion-for-tensor-ops --linalg-fusion-for-tensor-ops | |
--linalg-fusion --linalg-fusion | |
--linalg-promote-subviews --linalg-promote-subviews | |
--linalg-tile-sizes=<long> --linalg-tile-sizes=<long> | |
--linalg-tile --linalg-tile | |
--linalg-tile-to-parallel-loops --linalg-tile-to-parallel-loops | |
=list =list | |
=list =list | |
=locations =locations | |
=location+variables =location+variables | |
--loop-coalescing --loop-coalescing | |
--loop-invariant-code-motion --loop-invariant-code-motion | |
> --lower-affine | |
--matrix-default-layout=<value> --matrix-default-layout=<value> | |
--max-counter-promotions=<int> --max-counter-promotions=<int> | |
--max-counter-promotions-per-loop=<uint> --max-counter-promotions-per-loop=<uint> | |
--max-iterations=<uint> --max-iterations=<uint> | |
--memop-size-large=<uint> --memop-size-large=<uint> | |
--memop-size-range=<string> --memop-size-range=<string> | |
--memref-dataflow-opt --memref-dataflow-opt | |
> --min-dma-transfer=<int> | |
--mir-strip-debugify-only --mir-strip-debugify-only | |
--mlir-disable-threading --mlir-disable-threading | |
--mlir-elide-elementsattrs-if-larger=<uint> --mlir-elide-elementsattrs-if-larger=<uint> | |
--mlir-pretty-debuginfo --mlir-pretty-debuginfo | |
--mlir-print-debuginfo --mlir-print-debuginfo | |
--mlir-print-elementsattrs-with-hex-if-larger=<long> --mlir-print-elementsattrs-with-hex-if-larger=<long> | |
--mlir-print-op-on-diagnostic --mlir-print-op-on-diagnostic | |
--mlir-print-stacktrace-on-diagnostic --mlir-print-stacktrace-on-diagnostic | |
=mlir-text =mlir-text | |
=never =never | |
--no-discriminators --no-discriminators | |
=none =none | |
-o=<filename> -o=<filename> | |
OPTIONS: OPTIONS: | |
OVERVIEW: IREE modular optimizer driver OVERVIEW: IREE modular optimizer driver | |
--parallel-loop-collapsing --parallel-loop-collapsing | |
> --parallel-loop-fusion | |
> --parallel-loop-tile-sizes=<long> | |
> --parallel-loop-tiling | |
Passes: Passes: | |
--pass-pipeline --pass-pipeline | |
--pass-pipeline-crash-reproducer=<string> --pass-pipeline-crash-reproducer=<string> | |
--pass-pipeline-local-reproducer --pass-pipeline-local-reproducer | |
Pass Pipelines: Pass Pipelines: | |
--pass-statistics --pass-statistics | |
--pass-statistics-display=<value> --pass-statistics-display=<value> | |
--pass-timing --pass-timing | |
--pass-timing-display=<value> --pass-timing-display=<value> | |
=pipeline =pipeline | |
--poison-checking-function-local --poison-checking-function-local | |
--print-ir-after-all --print-ir-after-all | |
--print-ir-after-change --print-ir-after-change | |
--print-ir-after --print-ir-after | |
--print-ir-before-all --print-ir-before-all | |
--print-ir-before --print-ir-before | |
--print-ir-module-scope --print-ir-module-scope | |
--print-op-stats --print-op-stats | |
> --quant-convert-const | |
> --quant-convert-simulated-quantization | |
--remove-shape-constraints --remove-shape-constraints | |
=row-major =row-major | |
--runtime-counter-relocation --runtime-counter-relocation | |
--safepoint-ir-verifier-print-only --safepoint-ir-verifier-print-only | |
--sample-profile-check-record-coverage=<N> --sample-profile-check-record-coverage=<N> | |
--sample-profile-check-sample-coverage=<N> --sample-profile-check-sample-coverage=<N> | |
--sample-profile-max-propagate-iterations=<uint> --sample-profile-max-propagate-iterations=<uint> | |
> --separate | |
--serialize-executables --serialize-executables | |
--shape-to-shape-lowering --shape-to-shape-lowering | |
--show-dialects --show-dialects | |
> --simplify-affine-structures | |
> --skip-non-unit-stride-loops | |
--skip-ret-exit-block --skip-ret-exit-block | |
> --slow-mem-space=<uint> | |
--snapshot-op-locations --snapshot-op-locations | |
--speculative-counter-promotion-max-exiting=<uint> --speculative-counter-promotion-max-exiting=<uint> | |
--speculative-counter-promotion-to-loop --speculative-counter-promotion-to-loop | |
> --spirv-lower-abi-attrs | |
--split-input-file --split-input-file | |
--strip-debuginfo --strip-debuginfo | |
--summary-file=<string> --summary-file=<string> | |
--symbol-dce --symbol-dce | |
> --tag-mem-space=<uint> | |
--tag=<string> --tag=<string> | |
--tail-predication=<value> --tail-predication=<value> | |
> --test-fastest-varying=<long> | |
--test-iree-convert-std-to-vm --test-iree-convert-std-to-vm | |
--test-iree-flow-dispatchability --test-iree-flow-dispatchability | |
--test-iree-vm-register-allocation --test-iree-vm-register-allocation | |
--test-iree-vm-value-liveness --test-iree-vm-value-liveness | |
--test-promote-dynamic --test-promote-dynamic | |
--test-use-alloca --test-use-alloca | |
=thumb =thumb | |
> --tile-sizes=<uint> | |
> --tile-size=<uint> | |
> --unroll-factor=<uint> | |
> --unroll-full | |
> --unroll-full-threshold=<uint> | |
> --unroll-jam-factor=<uint> | |
> --unroll-num-reps=<uint> | |
USAGE: iree-opt [options] <input file> USAGE: iree-opt [options] <input file> | |
--use-old-memop-value-prof --use-old-memop-value-prof | |
--use-workgroup-memory --use-workgroup-memory | |
--verify-diagnostics --verify-diagnostics | |
--verify-each --verify-each | |
--verify-legalizer-debug-locs=<value> --verify-legalizer-debug-locs=<value> | |
--verify-region-info --verify-region-info | |
--version --version | |
> --virtual-vector-size=<long> | |
--vp-counters-per-site=<number> --vp-counters-per-site=<number> | |
--vp-static-alloc --vp-static-alloc | |
--workgroup-size=<long> --workgroup-size=<long> | |
--x86-align-branch-boundary=<uint> --x86-align-branch-boundary=<uint> | |
--x86-align-branch=<string> --x86-align-branch=<string> | |
--x86-branches-within-32B-boundaries --x86-branches-within-32B-boundaries | |
--x86-pad-max-prefix-size=<uint> --x86-pad-max-prefix-size=<uint> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment