diff options
| author | River Riddle <riverriddle@google.com> | 2019-01-25 22:14:04 -0800 |
|---|---|---|
| committer | jpienaar <jpienaar@google.com> | 2019-03-29 15:39:38 -0700 |
| commit | 75c21e1de01079cb65654d1c88007dba8772e6a1 (patch) | |
| tree | 807b4c5e34b7eec09439b88b60aad6e727dc05df /mlir/lib/Transforms/Utils/LoopUtils.cpp | |
| parent | 146ad7cf43cef0113c6161852fd0d6698d85d834 (diff) | |
| download | bcm5719-llvm-75c21e1de01079cb65654d1c88007dba8772e6a1.tar.gz bcm5719-llvm-75c21e1de01079cb65654d1c88007dba8772e6a1.zip | |
Wrap cl::opt flags within passes in a category with the pass name. This improves the help output of tools like mlir-opt.
Example:
dma-generate options:
-dma-fast-mem-capacity - Set fast memory space ...
-dma-fast-mem-space=<uint> - Set fast memory space ...
loop-fusion options:
-fusion-compute-tolerance=<number> - Fractional increase in ...
-fusion-maximal - Enables maximal loop fusion
loop-tile options:
-tile-size=<uint> - Use this tile size for ...
loop-unroll options:
-unroll-factor=<uint> - Use this unroll factor ...
-unroll-full - Fully unroll loops
-unroll-full-threshold=<uint> - Unroll all loops with ...
-unroll-num-reps=<uint> - Unroll innermost loops ...
loop-unroll-jam options:
-unroll-jam-factor=<uint> - Use this unroll jam factor ...
PiperOrigin-RevId: 231019363
Diffstat (limited to 'mlir/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions

