Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit c8e41c5

Browse files
committed
Fix a typo (the the => the)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160621 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent ed1a335 commit c8e41c5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+45
-45
lines changed

autoconf/m4/func_isinf.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This function determins if the the isinf function isavailable on this
2+
# This function determins if the isinf function isavailable on this
33
# platform.
44
#
55
AC_DEFUN([AC_FUNC_ISINF],[

autoconf/m4/huge_val.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This function determins if the the HUGE_VAL macro is compilable with the
2+
# This function determins if the HUGE_VAL macro is compilable with the
33
# -pedantic switch or not. XCode < 2.4.1 doesn't get it right.
44
#
55
AC_DEFUN([AC_HUGE_VAL_CHECK],[

autoconf/m4/rand48.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This function determins if the the srand48,drand48,lrand48 functions are
2+
# This function determins if the srand48,drand48,lrand48 functions are
33
# available on this platform.
44
#
55
AC_DEFUN([AC_FUNC_RAND48],[

docs/Atomics.rst

+1-1

docs/CommandGuide/llvm-ar.rst

+1-1

docs/CommandLine.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ <h2>
122122
<ol>
123123
<li>Speed: The CommandLine library is very quick and uses little resources. The
124124
parsing time of the library is directly proportional to the number of arguments
125-
parsed, not the the number of options recognized. Additionally, command line
125+
parsed, not the number of options recognized. Additionally, command line
126126
argument values are captured transparently into user defined global variables,
127127
which can be accessed like any other variable (and with the same
128128
performance).</li>

docs/GettingStarted.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ <h2>
627627
LLVM and to give you some basic information about the LLVM environment.</p>
628628

629629
<p>The later sections of this guide describe the <a
630-
href="#layout">general layout</a> of the the LLVM source tree, a <a
630+
href="#layout">general layout</a> of the LLVM source tree, a <a
631631
href="#tutorial">simple example</a> using the LLVM tool chain, and <a
632632
href="#links">links</a> to find more information about LLVM or to get
633633
help via e-mail.</p>
@@ -1535,7 +1535,7 @@ <h3>
15351535
bitcode or assembly (with the <tt>-emit-llvm</tt> option) instead of the
15361536
usual machine code output. It works just like any other GCC compiler,
15371537
taking the typical <tt>-c, -S, -E, -o</tt> options that are typically used.
1538-
Additionally, the the source code for <tt>llvm-gcc</tt> is available as a
1538+
Additionally, the source code for <tt>llvm-gcc</tt> is available as a
15391539
separate Subversion module.</dd>
15401540

15411541
<dt><tt><b>opt</b></tt></dt>

docs/GettingStartedVS.rst

+1-1

docs/LangRef.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1432,7 +1432,7 @@ <h3>
14321432
<li>If no match is found, and the type sought is an integer type, then the
14331433
smallest integer type that is larger than the bitwidth of the sought type
14341434
is used. If none of the specifications are larger than the bitwidth then
1435-
the the largest integer type is used. For example, given the default
1435+
the largest integer type is used. For example, given the default
14361436
specifications above, the i7 type will use the alignment of i8 (next
14371437
largest) while both i65 and i256 will use the alignment of i64 (largest
14381438
specified).</li>

docs/Passes.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ <h3>
754754
</h3>
755755
<div>
756756
<p>Provides other passes access to information on how the size and alignment
757-
required by the the target ABI for various data types.</p>
757+
required by the target ABI for various data types.</p>
758758
</div>
759759

760760
</div>

docs/ProgrammersManual.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3864,7 +3864,7 @@ <h4>
38643864
*Ty, LinkageTypes Linkage, const std::string &amp;N = "", Module* Parent = 0)</tt>
38653865

38663866
<p>Constructor used when you need to create new <tt>Function</tt>s to add
3867-
the the program. The constructor must specify the type of the function to
3867+
the program. The constructor must specify the type of the function to
38683868
create and what type of linkage the function should have. The <a
38693869
href="#FunctionType"><tt>FunctionType</tt></a> argument
38703870
specifies the formal arguments and return value for the function. The same

docs/tutorial/LangImpl8.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h2><a name="conclusion">Tutorial Conclusion</a></h2>
4747

4848
<div>
4949

50-
<p>Welcome to the the final chapter of the "<a href="index.html">Implementing a
50+
<p>Welcome to the final chapter of the "<a href="index.html">Implementing a
5151
language with LLVM</a>" tutorial. In the course of this tutorial, we have grown
5252
our little Kaleidoscope language from being a useless toy, to being a
5353
semi-interesting (but probably still useless) toy. :)</p>

docs/tutorial/OCamlLangImpl8.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h2><a name="conclusion">Tutorial Conclusion</a></h2>
4747

4848
<div>
4949

50-
<p>Welcome to the the final chapter of the "<a href="index.html">Implementing a
50+
<p>Welcome to the final chapter of the "<a href="index.html">Implementing a
5151
language with LLVM</a>" tutorial. In the course of this tutorial, we have grown
5252
our little Kaleidoscope language from being a useless toy, to being a
5353
semi-interesting (but probably still useless) toy. :)</p>

include/llvm/ADT/DepthFirstIterator.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class df_iterator : public std::iterator<std::forward_iterator_tag,
187187
/// current node, counting both nodes.
188188
unsigned getPathLength() const { return VisitStack.size(); }
189189

190-
/// getPath - Return the n'th node in the path from the the entry node to the
190+
/// getPath - Return the n'th node in the path from the entry node to the
191191
/// current node.
192192
NodeType *getPath(unsigned n) const {
193193
return VisitStack[n].first.getPointer();

include/llvm/CodeGen/SlotIndexes.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ namespace llvm {
399399
}
400400

401401
/// getIndexBefore - Returns the index of the last indexed instruction
402-
/// before MI, or the the start index of its basic block.
402+
/// before MI, or the start index of its basic block.
403403
/// MI is not required to have an index.
404404
SlotIndex getIndexBefore(const MachineInstr *MI) const {
405405
const MachineBasicBlock *MBB = MI->getParent();

include/llvm/Support/FileSystem.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ error_code GetMainExecutable(const char *argv0, void *MainAddr,
583583
/// @param file_offset Byte offset in file where mapping should begin.
584584
/// @param size_t Byte length of range of the file to map.
585585
/// @param map_writable If true, the file will be mapped in r/w such
586-
/// that changes to the the mapped buffer will be flushed back
586+
/// that changes to the mapped buffer will be flushed back
587587
/// to the file. If false, the file will be mapped read-only
588588
/// and the buffer will be read-only.
589589
/// @param result Set to the start address of the mapped buffer.

include/llvm/Support/raw_ostream.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ class raw_fd_ostream : public raw_ostream {
394394
/// has_error - Return the value of the flag in this raw_fd_ostream indicating
395395
/// whether an output error has been encountered.
396396
/// This doesn't implicitly flush any pending output. Also, it doesn't
397-
/// guarantee to detect all errors unless the the stream has been closed.
397+
/// guarantee to detect all errors unless the stream has been closed.
398398
bool has_error() const {
399399
return Error;
400400
}

include/llvm/Target/TargetLowering.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ class TargetLowering {
11881188
ShouldFoldAtomicFences = fold;
11891189
}
11901190

1191-
/// setInsertFencesForAtomic - Set if the the DAG builder should
1191+
/// setInsertFencesForAtomic - Set if the DAG builder should
11921192
/// automatically insert fences and reduce the order of atomic memory
11931193
/// operations to Monotonic.
11941194
void setInsertFencesForAtomic(bool fence) {

lib/Analysis/ScalarEvolutionExpander.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty,
3737
// We use this precondition to produce a cast that will dominate all its
3838
// uses. In particular, this is crucial for the case where the builder's
3939
// insertion point *is* the point where we were asked to put the cast.
40-
// Since we don't know the the builder's insertion point is actually
40+
// Since we don't know the builder's insertion point is actually
4141
// where the uses will be added (only that it dominates it), we are
4242
// not allowed to move it.
4343
BasicBlock::iterator BIP = Builder.GetInsertPoint();

lib/CodeGen/MachineScheduler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ bool MachineScheduler::runOnMachineFunction(MachineFunction &mf) {
212212
Scheduler->startBlock(MBB);
213213

214214
// Break the block into scheduling regions [I, RegionEnd), and schedule each
215-
// region as soon as it is discovered. RegionEnd points the the scheduling
215+
// region as soon as it is discovered. RegionEnd points the scheduling
216216
// boundary at the bottom of the region. The DAG does not include RegionEnd,
217217
// but the region does (i.e. the next RegionEnd is above the previous
218218
// RegionBegin). If the current block has no terminator then RegionEnd ==

lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ void ScheduleDAGRRList::UnscheduleNodeBottomUp(SUnit *SU) {
853853
}
854854

855855
/// After backtracking, the hazard checker needs to be restored to a state
856-
/// corresponding the the current cycle.
856+
/// corresponding the current cycle.
857857
void ScheduleDAGRRList::RestoreHazardCheckerBottomUp() {
858858
HazardRec->Reset();
859859

lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void RuntimeDyldImpl::mapSectionAddress(void *LocalAddress,
6060
}
6161

6262
// Subclasses can implement this method to create specialized image instances.
63-
// The caller owns the the pointer that is returned.
63+
// The caller owns the pointer that is returned.
6464
ObjectImage *RuntimeDyldImpl::createObjectImage(const MemoryBuffer *InputBuffer) {
6565
ObjectFile *ObjFile = ObjectFile::createObjectFile(const_cast<MemoryBuffer*>
6666
(InputBuffer));

lib/MC/MCAssembler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ static void WriteFragmentData(const MCAssembler &Asm, const MCAsmLayout &Layout,
403403

404404
// See if we are aligning with nops, and if so do that first to try to fill
405405
// the Count bytes. Then if that did not fill any bytes or there are any
406-
// bytes left to fill use the the Value and ValueSize to fill the rest.
406+
// bytes left to fill use the Value and ValueSize to fill the rest.
407407
// If we are aligning with nops, ask that target to emit the right data.
408408
if (AF.hasEmitNops()) {
409409
if (!Asm.getBackend().writeNopData(Count, OW))

lib/MC/MCDwarf.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ static inline void EmitDwarfLineTable(MCStreamer *MCOS,
198198
// Set the value of the symbol, as we are at the end of the section.
199199
MCOS->EmitLabel(SectionEnd);
200200

201-
// Switch back the the dwarf line section.
201+
// Switch back the dwarf line section.
202202
MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfLineSection());
203203

204204
const MCAsmInfo &asmInfo = MCOS->getContext().getAsmInfo();

lib/MC/MCParser/AsmParser.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1397,7 +1397,7 @@ bool AsmParser::ParseCppHashLineFilenameComment(const SMLoc &L) {
13971397
return false;
13981398
}
13991399

1400-
/// DiagHandler - will use the the last parsed cpp hash line filename comment
1400+
/// DiagHandler - will use the last parsed cpp hash line filename comment
14011401
/// for the Filename and LineNo if any in the diagnostic.
14021402
void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) {
14031403
const AsmParser *Parser = static_cast<const AsmParser*>(Context);

lib/Target/ARM/ARMBaseInstrInfo.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2198,7 +2198,7 @@ ARMBaseInstrInfo::getNumMicroOps(const InstrItineraryData *ItinData,
21982198
//
21992199
// On Cortex-A8, each pair of register loads / stores can be scheduled on the
22002200
// same cycle. The scheduling for the first load / store must be done
2201-
// separately by assuming the the address is not 64-bit aligned.
2201+
// separately by assuming the address is not 64-bit aligned.
22022202
//
22032203
// On Cortex-A9, the formula is simply (#reg / 2) + (#reg % 2). If the address
22042204
// is not 64-bit aligned, then AGU would take an extra cycle. For VFP / NEON

lib/Target/ARM/Disassembler/ARMDisassembler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ static bool tryAddingSymbolicOperand(uint64_t Address, int32_t Value,
603603
/// These can often be values in a literal pool near the Address of the
604604
/// instruction. The Address of the instruction and its immediate Value are
605605
/// used as a possible literal pool entry. The SymbolLookUp call back will
606-
/// return the name of a symbol referenced by the the literal pool's entry if
606+
/// return the name of a symbol referenced by the literal pool's entry if
607607
/// the referenced address is that of a symbol. Or it will return a pointer to
608608
/// a literal 'C' string if the referenced address of the literal pool's entry
609609
/// is an address into a section with 'C' string literals.

lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ RecordARMScatteredHalfRelocation(MachObjectWriter *Writer,
190190
// 0 - arm instructions
191191
// 1 - thumb instructions
192192
// the other half of the relocated expression is in the following pair
193-
// relocation entry in the the low 16 bits of r_address field.
193+
// relocation entry in the low 16 bits of r_address field.
194194
unsigned ThumbBit = 0;
195195
unsigned MovtBit = 0;
196196
switch ((unsigned)Fixup.getKind()) {

lib/Target/X86/X86FastISel.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1485,7 +1485,7 @@ bool X86FastISel::X86VisitIntrinsicCall(const IntrinsicInst &I) {
14851485
return false;
14861486

14871487
// The call to CreateRegs builds two sequential registers, to store the
1488-
// both the the returned values.
1488+
// both the returned values.
14891489
unsigned ResultReg = FuncInfo.CreateRegs(I.getType());
14901490
BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(OpC), ResultReg)
14911491
.addReg(Reg1).addReg(Reg2);

lib/Target/X86/X86ISelLowering.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1673,7 +1673,7 @@ X86TargetLowering::LowerCallResult(SDValue Chain, SDValue InFlag,
16731673
SDValue Val;
16741674

16751675
// If this is a call to a function that returns an fp value on the floating
1676-
// point stack, we must guarantee the the value is popped from the stack, so
1676+
// point stack, we must guarantee the value is popped from the stack, so
16771677
// a CopyFromReg is not good enough - the copy instruction may be eliminated
16781678
// if the return value is not used. We use the FpPOP_RETVAL instruction
16791679
// instead.

lib/Transforms/Scalar/ObjCARC.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -380,14 +380,14 @@ static InstructionClass GetBasicInstructionClass(const Value *V) {
380380
return isa<InvokeInst>(V) ? IC_CallOrUser : IC_User;
381381
}
382382

383-
/// IsRetain - Test if the the given class is objc_retain or
383+
/// IsRetain - Test if the given class is objc_retain or
384384
/// equivalent.
385385
static bool IsRetain(InstructionClass Class) {
386386
return Class == IC_Retain ||
387387
Class == IC_RetainRV;
388388
}
389389

390-
/// IsAutorelease - Test if the the given class is objc_autorelease or
390+
/// IsAutorelease - Test if the given class is objc_autorelease or
391391
/// equivalent.
392392
static bool IsAutorelease(InstructionClass Class) {
393393
return Class == IC_Autorelease ||

lib/Transforms/Utils/SimplifyCFG.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,7 @@ static bool FoldTwoEntryPHINode(PHINode *PN, const TargetData *TD) {
13301330
return false;
13311331
}
13321332

1333-
// If we folded the the first phi, PN dangles at this point. Refresh it. If
1333+
// If we folded the first phi, PN dangles at this point. Refresh it. If
13341334
// we ran out of PHIs then we simplified them all.
13351335
PN = dyn_cast<PHINode>(BB->begin());
13361336
if (PN == 0) return true;

projects/sample/autoconf/m4/func_isinf.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This function determins if the the isinf function isavailable on this
2+
# This function determins if the isinf function isavailable on this
33
# platform.
44
#
55
AC_DEFUN([AC_FUNC_ISINF],[

projects/sample/autoconf/m4/huge_val.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This function determins if the the HUGE_VAL macro is compilable with the
2+
# This function determins if the HUGE_VAL macro is compilable with the
33
# -pedantic switch or not. XCode < 2.4.1 doesn't get it right.
44
#
55
AC_DEFUN([AC_HUGE_VAL_CHECK],[

projects/sample/autoconf/m4/rand48.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This function determins if the the srand48,drand48,lrand48 functions are
2+
# This function determins if the srand48,drand48,lrand48 functions are
33
# available on this platform.
44
#
55
AC_DEFUN([AC_FUNC_RAND48],[

test/CodeGen/X86/cfstring.ll

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
%0 = type opaque
55
%struct.NSConstantString = type { i32*, i32, i8*, i32 }
66

7-
; Make sure that the string ends up the the correct section.
7+
; Make sure that the string ends up the correct section.
88

99
; CHECK: .section __TEXT,__cstring
1010
; CHECK-NEXT: l_.str3:

test/Verifier/2002-04-13-RetTypes.ll

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: not llvm-as < %s 2>&1 | grep "value doesn't match function result type 'i32'"
22

3-
; Verify the the operand type of the ret instructions in a function match the
3+
; Verify the operand type of the ret instructions in a function match the
44
; delcared return type of the function they live in.
55
;
66

tools/bugpoint/BugDriver.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ bool BugDriver::run(std::string &ErrMsg) {
156156
// If we're not running as a child, the first thing that we must do is
157157
// determine what the problem is. Does the optimization series crash the
158158
// compiler, or does it produce illegal code? We make the top-level
159-
// decision by trying to run all of the passes on the the input program,
159+
// decision by trying to run all of the passes on the input program,
160160
// which should generate a bitcode file. If it does generate a bitcode
161161
// file, then we know the compiler didn't crash, so try to diagnose a
162162
// miscompilation.

tools/llvm-diff/DiffConsumer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
//===----------------------------------------------------------------------===//
99
//
10-
// This files implements the the LLVM difference Consumer
10+
// This files implements the LLVM difference Consumer
1111
//
1212
//===----------------------------------------------------------------------===//
1313

utils/TableGen/DAGISelMatcher.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void EmitMatcherTable(const Matcher *Matcher, const CodeGenDAGPatterns &CGP,
3535
raw_ostream &OS);
3636

3737

38-
/// Matcher - Base class for all the the DAG ISel Matcher representation
38+
/// Matcher - Base class for all the DAG ISel Matcher representation
3939
/// nodes.
4040
class Matcher {
4141
// The next matcher node that is executed after this one. Null if this is the

utils/TableGen/SubtargetEmitter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ EmitItineraries(raw_ostream &OS,
564564
}
565565
}
566566

567-
// Emit either the the value defined in the TableGen Record, or the default
567+
// Emit either the value defined in the TableGen Record, or the default
568568
// value defined in the C++ header. The Record is null if the processor does not
569569
// define a model.
570570
void SubtargetEmitter::EmitProcessorProp(raw_ostream &OS, const Record *R,

utils/release/test-release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ function check_valid_urls() {
193193
done
194194
}
195195

196-
# Export sources to the the build directory.
196+
# Export sources to the build directory.
197197
function export_sources() {
198198
check_valid_urls
199199

utils/unittest/googletest/gtest.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1465,7 +1465,7 @@ char* CodePointToUtf8(UInt32 code_point, char* str) {
14651465
return str;
14661466
}
14671467

1468-
// The following two functions only make sense if the the system
1468+
// The following two functions only make sense if the system
14691469
// uses UTF-16 for wide string encoding. All supported systems
14701470
// with 16 bit wchar_t (Windows, Cygwin, Symbian OS) do use UTF-16.
14711471

0 commit comments

Comments
 (0)