Skip to content

Commit 183b380

Browse files
[llvm] Proofread *.rst (#151087)
This patch hyphenates words that are used as adjecives, such as: - architecture specific - human readable - implementation defined - language independent - language specific - machine readable - machine specific - target independent - target specific
1 parent 022039e commit 183b380

28 files changed

+45
-45
lines changed

llvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ There are five kinds of location storage:
11871187
operations. It would specify the debugger information entry and byte offset
11881188
provided by the operations.
11891189

1190-
*Location descriptions are a language independent representation of addressing
1190+
*Location descriptions are a language-independent representation of addressing
11911191
rules.*
11921192

11931193
* *They can be the result of evaluating a debugger information entry attribute
@@ -1523,8 +1523,8 @@ expression.
15231523
states that relocation of references from one executable or shared object
15241524
file to another must be performed by the consumer. But given that DR is
15251525
defined as an offset in a ``.debug_info`` section this seems impossible.
1526-
If DR was defined as an implementation defined value, then the consumer
1527-
could choose to interpret the value in an implementation defined manner to
1526+
If DR was defined as an implementation-defined value, then the consumer
1527+
could choose to interpret the value in an implementation-defined manner to
15281528
reference a debug information in another executable or shared object.
15291529

15301530
In ELF the ``.debug_info`` section is in a non-\ ``PT_LOAD`` segment so
@@ -4188,7 +4188,7 @@ The register rules are:
41884188
conversion as the bit contents of the register is simply interpreted as a
41894189
value of the address.
41904190

4191-
GDB has a per register hook that allows a target specific conversion on a
4191+
GDB has a per register hook that allows a target-specific conversion on a
41924192
register by register basis. It defaults to truncation of bigger registers,
41934193
and to actually reading bytes from the next register (or reads out of bounds
41944194
for the last register) for smaller registers. There are no GDB tests that

llvm/docs/AMDGPUUsage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1890,7 +1890,7 @@ The AMDGPU backend supports the following calling conventions:
18901890
AMDGPU MCExpr
18911891
-------------
18921892

1893-
As part of the AMDGPU MC layer, AMDGPU provides the following target specific
1893+
As part of the AMDGPU MC layer, AMDGPU provides the following target-specific
18941894
``MCExpr``\s.
18951895

18961896
.. table:: AMDGPU MCExpr types:

llvm/docs/CodeGenerator.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ provide one of these objects through the ``getJITInfo`` method.
323323
Machine code description classes
324324
================================
325325

326-
At the high-level, LLVM code is translated to a machine specific representation
326+
At the high-level, LLVM code is translated to a machine-specific representation
327327
formed out of :raw-html:`<tt>` `MachineFunction`_ :raw-html:`</tt>`,
328328
:raw-html:`<tt>` `MachineBasicBlock`_ :raw-html:`</tt>`, and :raw-html:`<tt>`
329329
`MachineInstr`_ :raw-html:`</tt>` instances (defined in
@@ -462,7 +462,7 @@ code:
462462
ret
463463
464464
This approach is extremely general (if it can handle the X86 architecture, it
465-
can handle anything!) and allows all of the target specific knowledge about the
465+
can handle anything!) and allows all of the target-specific knowledge about the
466466
instruction stream to be isolated in the instruction selector. Note that
467467
physical registers should have a short lifetime for good code generation, and
468468
all physical registers are assumed dead on entry to and exit from basic blocks
@@ -634,7 +634,7 @@ file (MCObjectStreamer). MCAsmStreamer is a straightforward implementation
634634
that prints out a directive for each method (e.g. ``EmitValue -> .byte``), but
635635
MCObjectStreamer implements a full assembler.
636636

637-
For target specific directives, the MCStreamer has a MCTargetStreamer instance.
637+
For target-specific directives, the MCStreamer has a MCTargetStreamer instance.
638638
Each target that needs it defines a class that inherits from it and is a lot
639639
like MCStreamer itself: It has one method per directive and two classes that
640640
inherit from it, a target object streamer and a target asm streamer. The target

llvm/docs/CommandGuide/llvm-bcanalyzer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ DESCRIPTION
1414
The :program:`llvm-bcanalyzer` command is a small utility for analyzing bitcode
1515
files. The tool reads a bitcode file (such as generated with the
1616
:program:`llvm-as` tool) and produces a statistical report on the contents of
17-
the bitcode file. The tool can also dump a low level but human readable
17+
the bitcode file. The tool can also dump a low level but human-readable
1818
version of the bitcode file. This tool is probably not of much interest or
1919
utility except for those working directly with the bitcode file format. Most
2020
LLVM users can just ignore this tool.
@@ -30,7 +30,7 @@ OPTIONS
3030

3131
.. option:: --dump
3232

33-
Causes :program:`llvm-bcanalyzer` to dump the bitcode in a human readable
33+
Causes :program:`llvm-bcanalyzer` to dump the bitcode in a human-readable
3434
format. This format is significantly different from LLVM assembly and
3535
provides details about the encoding of the bitcode file.
3636

llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ DESCRIPTION
1414
-----------
1515
:program:`llvm-debuginfo-analyzer` parses debug and text sections in
1616
binary object files and prints their contents in a logical view, which
17-
is a human readable representation that closely matches the structure
17+
is a human-readable representation that closely matches the structure
1818
of the original user source code. Supported object file formats include
1919
ELF, Mach-O, WebAssembly, PDB and COFF.
2020

llvm/docs/CommandGuide/llvm-exegesis.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ properly.
106106
using the loop repetition mode. :program:`llvm-exegesis` needs to keep track
107107
of the current loop iteration within the loop repetition mode in a performant
108108
manner (i.e., no memory accesses), and uses a register to do this. This register
109-
has an architecture specific default (e.g., `R8` on X86), but this might conflict
109+
has an architecture-specific default (e.g., `R8` on X86), but this might conflict
110110
with some snippets. This annotation allows changing the register to prevent
111111
interference between the loop index register and the snippet.
112112

llvm/docs/CommandGuide/llvm-ifs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SYNOPSIS
1111
DESCRIPTION
1212
-----------
1313

14-
:program:`llvm-ifs` is a tool that jointly produces human readable text-based
14+
:program:`llvm-ifs` is a tool that jointly produces human-readable text-based
1515
stubs (.ifs files) for shared objects and linkable shared object stubs
1616
(.so files) from either ELF shared objects or text-based stubs. The text-based
1717
stubs is useful for monitoring ABI changes of the shared object. The linkable

llvm/docs/CommandGuide/llvm-locstats.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ DESCRIPTION
1313

1414
:program:`llvm-locstats` works like a wrapper around :program:`llvm-dwarfdump`.
1515
It parses :program:`llvm-dwarfdump` statistics regarding debug location by
16-
pretty printing it in a more human readable way.
16+
pretty printing it in a more human-readable way.
1717

1818
The line 0% shows the number and the percentage of DIEs with no location
1919
information, but the line 100% shows the information for DIEs where there is

llvm/docs/CommandGuide/llvm-mca.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ option specifies "``-``", then the output will also be sent to standard output.
241241
.. option:: -disable-cb
242242

243243
Force usage of the generic CustomBehaviour and InstrPostProcess classes rather
244-
than using the target specific implementation. The generic classes never
244+
than using the target-specific implementation. The generic classes never
245245
detect any custom hazards or make any post processing modifications to
246246
instructions.
247247

@@ -1125,9 +1125,9 @@ CustomBehaviour class can be used in these cases to enforce proper
11251125
instruction modeling (often by customizing data dependencies and detecting
11261126
hazards that :program:`llvm-mca` has no way of knowing about).
11271127

1128-
:program:`llvm-mca` comes with one generic and multiple target specific
1128+
:program:`llvm-mca` comes with one generic and multiple target-specific
11291129
CustomBehaviour classes. The generic class will be used if the ``-disable-cb``
1130-
flag is used or if a target specific CustomBehaviour class doesn't exist for
1130+
flag is used or if a target-specific CustomBehaviour class doesn't exist for
11311131
that target. (The generic class does nothing.) Currently, the CustomBehaviour
11321132
class is only a part of the in-order pipeline, but there are plans to add it
11331133
to the out-of-order pipeline in the future.
@@ -1141,7 +1141,7 @@ if you don't know the exact number and a value of 0 represents no stall).
11411141

11421142
If you'd like to add a CustomBehaviour class for a target that doesn't
11431143
already have one, refer to an existing implementation to see how to set it
1144-
up. The classes are implemented within the target specific backend (for
1144+
up. The classes are implemented within the target-specific backend (for
11451145
example `/llvm/lib/Target/AMDGPU/MCA/`) so that they can access backend symbols.
11461146

11471147
Instrument Manager
@@ -1177,12 +1177,12 @@ classes (MCSubtargetInfo, MCInstrInfo, etc.), please add it to the
11771177
AND requires unexposed backend symbols or functionality, you can define it in
11781178
the `/lib/Target/<TargetName>/MCA/` directory.
11791179

1180-
To enable this target specific View, you will have to use this target's
1180+
To enable this target-specific View, you will have to use this target's
11811181
CustomBehaviour class to override the `CustomBehaviour::getViews()` methods.
11821182
There are 3 variations of these methods based on where you want your View to
11831183
appear in the output: `getStartViews()`, `getPostInstrInfoViews()`, and
11841184
`getEndViews()`. These methods returns a vector of Views so you will want to
1185-
return a vector containing all of the target specific Views for the target in
1185+
return a vector containing all of the target-specific Views for the target in
11861186
question.
11871187

11881188
Because these target specific (and backend dependent) Views require the

llvm/docs/CommandGuide/llvm-profdata.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ OPTIONS
338338

339339
Instruct the profile dumper to show profile counts in the text format of the
340340
instrumentation-based profile data representation. By default, the profile
341-
information is dumped in a more human readable form (also in text) with
341+
information is dumped in a more human-readable form (also in text) with
342342
annotations.
343343

344344
.. option:: --topn=<n>

0 commit comments

Comments
 (0)