From 135fe6ac5f5b80ef68c19b3ec7bb0063e28f2bab Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 22 Oct 2013 15:18:03 +0000 Subject: [PATCH] Speling fixes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193165 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm-c/ExecutionEngine.h | 2 +- include/llvm/Analysis/TargetTransformInfo.h | 2 +- include/llvm/CodeGen/CommandFlags.h | 2 +- include/llvm/MC/MCContext.h | 2 +- include/llvm/MC/MCSchedule.h | 2 +- include/llvm/Support/ErrorOr.h | 6 +++--- include/llvm/Support/FileSystem.h | 2 +- include/llvm/TableGen/Record.h | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/llvm-c/ExecutionEngine.h b/include/llvm-c/ExecutionEngine.h index 4e767b2e641..3ae4d890070 100644 --- a/include/llvm-c/ExecutionEngine.h +++ b/include/llvm-c/ExecutionEngine.h @@ -197,7 +197,7 @@ LLVMMCJITMemoryManagerRef LLVMCreateSimpleMCJITMemoryManager( LLVMMemoryManagerAllocateCodeSectionCallback AllocateCodeSection, LLVMMemoryManagerAllocateDataSectionCallback AllocateDataSection, LLVMMemoryManagerFinalizeMemoryCallback FinalizeMemory, - LLVMMemoryManagerDestroyCallback Destory); + LLVMMemoryManagerDestroyCallback Destroy); void LLVMDisposeMCJITMemoryManager(LLVMMCJITMemoryManagerRef MM); diff --git a/include/llvm/Analysis/TargetTransformInfo.h b/include/llvm/Analysis/TargetTransformInfo.h index 9104fd4b4ae..4f475623892 100644 --- a/include/llvm/Analysis/TargetTransformInfo.h +++ b/include/llvm/Analysis/TargetTransformInfo.h @@ -314,7 +314,7 @@ public: SK_ExtractSubvector ///< ExtractSubvector Index indicates start offset. }; - /// \brief Additonal information about an operand's possible values. + /// \brief Additional information about an operand's possible values. enum OperandValueKind { OK_AnyValue, // Operand can have any value. OK_UniformValue, // Operand is uniform (splat of a value). diff --git a/include/llvm/CodeGen/CommandFlags.h b/include/llvm/CodeGen/CommandFlags.h index 0c21e7622bd..bc8dce33356 100644 --- a/include/llvm/CodeGen/CommandFlags.h +++ b/include/llvm/CodeGen/CommandFlags.h @@ -150,7 +150,7 @@ FloatABIForCalls("float-abi", cl::opt FuseFPOps("fp-contract", - cl::desc("Enable aggresive formation of fused FP ops"), + cl::desc("Enable aggressive formation of fused FP ops"), cl::init(FPOpFusion::Standard), cl::values( clEnumValN(FPOpFusion::Fast, "fast", diff --git a/include/llvm/MC/MCContext.h b/include/llvm/MC/MCContext.h index c012ed0f5aa..8fba18c9018 100644 --- a/include/llvm/MC/MCContext.h +++ b/include/llvm/MC/MCContext.h @@ -406,7 +406,7 @@ namespace llvm { void Deallocate(void *Ptr) { } - // Unrecoverable error has occured. Display the best diagnostic we can + // Unrecoverable error has occurred. Display the best diagnostic we can // and bail via exit(1). For now, most MC backend errors are unrecoverable. // FIXME: We should really do something about that. LLVM_ATTRIBUTE_NORETURN void FatalError(SMLoc L, const Twine &Msg); diff --git a/include/llvm/MC/MCSchedule.h b/include/llvm/MC/MCSchedule.h index 1edf204940c..6881e1d05ac 100644 --- a/include/llvm/MC/MCSchedule.h +++ b/include/llvm/MC/MCSchedule.h @@ -124,7 +124,7 @@ struct MCSchedClassDesc { /// microarchitecture to the scheduler in the form of properties. It also /// optionally refers to scheduler resource tables and itinerary /// tables. Scheduler resource tables model the latency and cost for each -/// instruction type. Itinerary tables are an independant mechanism that +/// instruction type. Itinerary tables are an independent mechanism that /// provides a detailed reservation table describing each cycle of instruction /// execution. Subtargets may define any or all of the above categories of data /// depending on the type of CPU and selected scheduler. diff --git a/include/llvm/Support/ErrorOr.h b/include/llvm/Support/ErrorOr.h index f3ac305fe77..6832e3df2f9 100644 --- a/include/llvm/Support/ErrorOr.h +++ b/include/llvm/Support/ErrorOr.h @@ -34,7 +34,7 @@ struct ErrorHolderBase { ErrorHolderBase() : RefCount(1) {} - void aquire() { + void acquire() { ++RefCount; } @@ -308,7 +308,7 @@ private: // Get other's error. Error = Other.Error; HasError = true; - Error->aquire(); + Error->acquire(); } } @@ -437,7 +437,7 @@ public: ErrorOr(const ErrorOr &Other) : Error(0, 0) { Error = Other.Error; if (Other.Error.getPointer()->Error) { - Error.getPointer()->aquire(); + Error.getPointer()->acquire(); } } diff --git a/include/llvm/Support/FileSystem.h b/include/llvm/Support/FileSystem.h index f52785bb158..6baaeb841b9 100644 --- a/include/llvm/Support/FileSystem.h +++ b/include/llvm/Support/FileSystem.h @@ -732,7 +732,7 @@ public: /// should begin. Must be a multiple of /// mapped_file_region::alignment(). /// \param ec This is set to errc::success if the map was constructed - /// sucessfully. Otherwise it is set to a platform dependent error. + /// successfully. Otherwise it is set to a platform dependent error. mapped_file_region(const Twine &path, mapmode mode, uint64_t length, diff --git a/include/llvm/TableGen/Record.h b/include/llvm/TableGen/Record.h index e17cddd9af9..50352bd9a57 100644 --- a/include/llvm/TableGen/Record.h +++ b/include/llvm/TableGen/Record.h @@ -694,7 +694,7 @@ public: }; -/// IntInit - 7 - Represent an initalization by a literal integer value. +/// IntInit - 7 - Represent an initialization by a literal integer value. /// class IntInit : public TypedInit { int64_t Value;