Skip to content

Commit 8348e9d

Browse files
committedApr 2, 2020
[LoopTerminology] Make term names bold
Differential Revision: https://reviews.llvm.org/D77151
1 parent ab25d37 commit 8348e9d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed
 

‎llvm/docs/LoopTerminology.rst

+9-9
Original file line numberDiff line numberDiff line change
@@ -55,46 +55,46 @@ is branched to). They may have multiple predecessors, phis, etc...
5555
Key Terminology
5656
===============
5757

58-
Header Block - The basic block which dominates all other blocks
58+
**Header Block** - The basic block which dominates all other blocks
5959
contained within the loop. As such, it is the first one executed if
6060
the loop executes at all. Note that a block can be the header of
6161
two separate loops at the same time, but only if one is a sub-loop
6262
of the other.
6363

64-
Exiting Block - A basic block contained within a given loop which has
64+
**Exiting Block** - A basic block contained within a given loop which has
6565
at least one successor outside of the loop and one successor inside the
6666
loop. (The latter is a consequence of the block being contained within
6767
an SCC which is part of the loop.) That is, it has a successor which
6868
is an Exit Block.
6969

70-
Exit Block - A basic block outside of the associated loop which has a
70+
**Exit Block** - A basic block outside of the associated loop which has a
7171
predecessor inside the loop. That is, it has a predecessor which is
7272
an Exiting Block.
7373

74-
Latch Block - A basic block within the loop whose successors include
74+
**Latch Block** - A basic block within the loop whose successors include
7575
the header block of the loop. Thus, a latch is a source of backedge.
7676
A loop may have multiple latch blocks. A latch block may be either
7777
conditional or unconditional.
7878

79-
Backedge(s) - The edge(s) in the CFG from latch blocks to the header
79+
**Backedge(s)** - The edge(s) in the CFG from latch blocks to the header
8080
block. Note that there can be multiple such edges, and even multiple
8181
such edges leaving a single latch block.
8282

83-
Loop Predecessor - The predecessor blocks of the loop header which
83+
**Loop Predecessor** - The predecessor blocks of the loop header which
8484
are not contained by the loop itself. These are the only blocks
8585
through which execution can enter the loop. When used in the
8686
singular form implies that there is only one such unique block.
8787

88-
Preheader Block - A preheader is a (singular) loop predecessor which
88+
**Preheader Block** - A preheader is a (singular) loop predecessor which
8989
ends in an unconditional transfer of control to the loop header. Note
9090
that not all loops have such blocks.
9191

92-
Backedge Taken Count - The number of times the backedge will execute
92+
**Backedge Taken Count** - The number of times the backedge will execute
9393
before some interesting event happens. Commonly used without
9494
qualification of the event as a shorthand for when some exiting block
9595
branches to some exit block. May be zero, or not statically computable.
9696

97-
Iteration Count - The number of times the header will execute before
97+
**Iteration Count** - The number of times the header will execute before
9898
some interesting event happens. Commonly used without qualification to
9999
refer to the iteration count at which the loop exits. Will always be
100100
one greater than the backedge taken count. *Warning*: Preceding

0 commit comments

Comments
 (0)
Please sign in to comment.