Commit 89a66474 authored by Clement Courbet's avatar Clement Courbet
Browse files

[llvm-exegesis] Document `repetition-mode`.

Reviewers: gchatelet

Subscribers: tschuett, mstojanovic, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74114
parent e7cb3744
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
@@ -195,6 +195,15 @@ OPTIONS
 to specify at least one of the `-analysis-clusters-output-file=` and
 `-analysis-inconsistencies-output-file=`.

.. option:: -repetition-mode=[duplicate|loop]

 Specify the repetition mode. `duplicate` will create a large, straight line
 basic block with `num-repetitions` copies of the snippet. `loop` will wrap
 the snippet in a loop which will be run `num-repetitions` times. The `loop`
 mode tends to better hide the effects of the CPU frontend on architectures
 that cache decoded instructions, but consumes a register for counting
 iterations.

.. option:: -num-repetitions=<Number of repetitions>

 Specify the number of repetitions of the asm snippet.