Skip to content

Commit bb69208

Browse files
committed
Fix a few spellos in docs.
(Trying to debug an incremental build thing on a bot...) llvm-svn: 371860
1 parent 6d18650 commit bb69208

File tree

8 files changed

+21
-21
lines changed

8 files changed

+21
-21
lines changed

llvm/docs/BuildingADistribution.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ the performance of the generated binaries.
132132
In addition to PGO profiling we also have limited support in-tree for generating
133133
linker order files. These files provide the linker with a suggested ordering for
134134
functions in the final binary layout. This can measurably speed up clang by
135-
physically grouping functions that are called temporally close to eachother. The
136-
current tooling is only available on Darwin systems with ``dtrace(1)``. It is
137-
worth noting that dtrace is non-deterministic, and so the order file generation
138-
using dtrace is also non-deterministic.
135+
physically grouping functions that are called temporally close to each other.
136+
The current tooling is only available on Darwin systems with ``dtrace(1)``. It
137+
is worth noting that dtrace is non-deterministic, and so the order file
138+
generation using dtrace is also non-deterministic.
139139

140140
Options for Reducing Size
141141
=========================

llvm/docs/CommandGuide/llvm-nm.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ a, A
3434

3535
b, B
3636

37-
Unitialized data (bss) object.
37+
Uninitialized data (bss) object.
3838

3939
C
4040

@@ -90,7 +90,7 @@ V
9090

9191
ELF: Defined weak object symbol. This definition will only be used if no
9292
regular definitions exist in a link. If multiple weak definitions and no
93-
regular definitons exist, one of the weak definitions will be used.
93+
regular definitions exist, one of the weak definitions will be used.
9494

9595
w
9696

@@ -101,7 +101,7 @@ W
101101

102102
Defined weak symbol other than an ELF object symbol. This definition will only
103103
be used if no regular definitions exist in a link. If multiple weak definitions
104-
and no regular definitons exist, one of the weak definitions will be used.
104+
and no regular definitions exist, one of the weak definitions will be used.
105105

106106
\-
107107

llvm/docs/LangRef.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3521,7 +3521,7 @@ resulting assembly string is parsed by LLVM's integrated assembler unless it is
35213521
disabled -- even when emitting a ``.s`` file -- and thus must contain assembly
35223522
syntax known to LLVM.
35233523

3524-
LLVM also supports a few more substitions useful for writing inline assembly:
3524+
LLVM also supports a few more substitutions useful for writing inline assembly:
35253525

35263526
- ``${:uid}``: Expands to a decimal integer unique to this inline assembly blob.
35273527
This substitution is useful when declaring a local label. Many standard
@@ -6518,7 +6518,7 @@ Where each VFuncId has the format:
65186518
vFuncId: (TypeIdRef, offset: 16)
65196519

65206520
Where each ``TypeIdRef`` refers to a :ref:`type id<typeid_summary>`
6521-
by summary id or ``GUID`` preceeded by a ``guid:`` tag.
6521+
by summary id or ``GUID`` preceded by a ``guid:`` tag.
65226522

65236523
TypeCheckedLoadVCalls
65246524
"""""""""""""""""""""
@@ -11364,7 +11364,7 @@ privileges.
1136411364
The default behavior is to emit a call to ``__clear_cache`` from the run
1136511365
time library.
1136611366

11367-
This instrinsic does *not* empty the instruction pipeline. Modifications
11367+
This intrinsic does *not* empty the instruction pipeline. Modifications
1136811368
of the current function are outside the scope of the intrinsic.
1136911369

1137011370
'``llvm.instrprof.increment``' Intrinsic
@@ -11439,7 +11439,7 @@ The last argument specifies the value of the increment of the counter variable.
1143911439

1144011440
Semantics:
1144111441
""""""""""
11442-
See description of '``llvm.instrprof.increment``' instrinsic.
11442+
See description of '``llvm.instrprof.increment``' intrinsic.
1144311443

1144411444

1144511445
'``llvm.instrprof.value.profile``' Intrinsic

llvm/docs/ORCv2.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Introduction
1010

1111
This document aims to provide a high-level overview of the design and
1212
implementation of the ORC JIT APIs. Except where otherwise stated, all
13-
discussion applies to the design of the APIs as of LLVM verison 9 (ORCv2).
13+
discussion applies to the design of the APIs as of LLVM version 9 (ORCv2).
1414

1515
Use-cases
1616
=========
@@ -19,7 +19,7 @@ ORC provides a modular API for building JIT compilers. There are a range
1919
of use cases for such an API. For example:
2020

2121
1. The LLVM tutorials use a simple ORC-based JIT class to execute expressions
22-
compiled from a toy languge: Kaleidoscope.
22+
compiled from a toy language: Kaleidoscope.
2323

2424
2. The LLVM debugger, LLDB, uses a cross-compiling JIT for expression
2525
evaluation. In this use case, cross compilation allows expressions compiled
@@ -31,7 +31,7 @@ optimizations within an existing JIT infrastructure.
3131

3232
4. In interpreters and REPLs, e.g. Cling (C++) and the Swift interpreter.
3333

34-
By adoping a modular, library-based design we aim to make ORC useful in as many
34+
By adopting a modular, library-based design we aim to make ORC useful in as many
3535
of these contexts as possible.
3636

3737
Features
@@ -237,7 +237,7 @@ but they may also wrap a jit-linker directly (if the program representation
237237
backing the definitions is an object file), or may even be a class that writes
238238
bits directly into memory (for example, if the definitions are
239239
stubs). Materialization is the blanket term for any actions (compiling, linking,
240-
splatting bits, registering with runtimes, etc.) that are requried to generate a
240+
splatting bits, registering with runtimes, etc.) that are required to generate a
241241
symbol definition that is safe to call or access.
242242

243243
As each materializer completes its work it notifies the JITDylib, which in turn
@@ -495,7 +495,7 @@ or creating any Modules attached to it. E.g.
495495
TP.wait();
496496

497497
To make exclusive access to Modules easier to manage the ThreadSafeModule class
498-
provides a convenince function, ``withModuleDo``, that implicitly (1) locks the
498+
provides a convenience function, ``withModuleDo``, that implicitly (1) locks the
499499
associated context, (2) runs a given function object, (3) unlocks the context,
500500
and (3) returns the result generated by the function object. E.g.
501501

llvm/docs/PDB/MsfFile.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ write your new modified bitfield to FPM2, and vice versa. Only when you commit
104104
the file to disk do you need to swap the value in the SuperBlock to point to
105105
the new ``FreeBlockMapBlock``.
106106

107-
The Free Block Maps are stored as a series of single blocks thoughout the file
107+
The Free Block Maps are stored as a series of single blocks throughout the file
108108
at intervals of BlockSize. Because each FPM block is of size ``BlockSize``
109109
bytes, it contains 8 times as many bits as an interval has blocks. This means
110110
that the first block of each FPM refers to the first 8 intervals of the file

llvm/docs/SpeculativeLoadHardening.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ Once we have the predicate accumulated into a special value for correct vs.
511511
misspeculated, we need to apply this to loads in a way that ensures they do not
512512
leak secret data. There are two primary techniques for this: we can either
513513
harden the loaded value to prevent observation, or we can harden the address
514-
itself to prevent the load from occuring. These have significantly different
514+
itself to prevent the load from occurring. These have significantly different
515515
performance tradeoffs.
516516

517517

@@ -942,7 +942,7 @@ We can use this broader barrier to speculative loads executing between
942942
functions. We emit it in the entry block to handle calls, and prior to each
943943
return. This approach also has the advantage of providing the strongest degree
944944
of mitigation when mixed with unmitigated code by halting all misspeculation
945-
entering a function which is mitigated, regardless of what occured in the
945+
entering a function which is mitigated, regardless of what occurred in the
946946
caller. However, such a mixture is inherently more risky. Whether this kind of
947947
mixture is a sufficient mitigation requires careful analysis.
948948

llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ look like this:
318318
TheJIT->removeModule(H);
319319
}
320320

321-
If parsing and codegen succeeed, the next step is to add the module containing
321+
If parsing and codegen succeed, the next step is to add the module containing
322322
the top-level expression to the JIT. We do this by calling addModule, which
323323
triggers code generation for all the functions in the module, and returns a
324324
handle that can be used to remove the module from the JIT later. Once the module

llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl07.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ Here is the code after the mem2reg pass runs:
520520
521521
This is a trivial case for mem2reg, since there are no redefinitions of
522522
the variable. The point of showing this is to calm your tension about
523-
inserting such blatent inefficiencies :).
523+
inserting such blatant inefficiencies :).
524524

525525
After the rest of the optimizers run, we get:
526526

0 commit comments

Comments
 (0)