Fix typo "fuction" noticed in comments in AssumptionCache.h, and also all the other files that have the same typo. All comments, no functionality change! (Merely a "fuctionality" change.)

Bonus change to remove emacs major mode marker from SystemZMachineFunctionInfo.cpp because emacs already knows it's C++ from the extension. Also fix typo "appeary" in AMDGPUMCAsmInfo.h.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243585 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2015-07-29 22:32:47 +00:00
parent 3134cebe28
commit 6fc1adf9c7
17 changed files with 18 additions and 18 deletions

View File

@ -1950,7 +1950,7 @@ void LLVMSetGC(LLVMValueRef Fn, const char *Name);
void LLVMAddFunctionAttr(LLVMValueRef Fn, LLVMAttribute PA); void LLVMAddFunctionAttr(LLVMValueRef Fn, LLVMAttribute PA);
/** /**
* Add a target-dependent attribute to a fuction * Add a target-dependent attribute to a function
* @see llvm::AttrBuilder::addAttribute() * @see llvm::AttrBuilder::addAttribute()
*/ */
void LLVMAddTargetDependentFunctionAttr(LLVMValueRef Fn, const char *A, void LLVMAddTargetDependentFunctionAttr(LLVMValueRef Fn, const char *A,

View File

@ -66,7 +66,7 @@ public:
/// \brief Add an @llvm.assume intrinsic to this function's cache. /// \brief Add an @llvm.assume intrinsic to this function's cache.
/// ///
/// The call passed in must be an instruction within this fuction and must /// The call passed in must be an instruction within this function and must
/// not already be in the cache. /// not already be in the cache.
void registerAssumption(CallInst *CI); void registerAssumption(CallInst *CI);
@ -79,7 +79,7 @@ public:
} }
/// \brief Access the list of assumption handles currently tracked for this /// \brief Access the list of assumption handles currently tracked for this
/// fuction. /// function.
/// ///
/// Note that these produce weak handles that may be null. The caller must /// Note that these produce weak handles that may be null. The caller must
/// handle that case. /// handle that case.

View File

@ -1,4 +1,4 @@
//=- AArch64MachineFuctionInfo.h - AArch64 machine function info --*- C++ -*-=// //=- AArch64MachineFunctionInfo.h - AArch64 machine function info -*- C++ -*-=//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //

View File

@ -21,7 +21,7 @@ class Triple;
// If you need to create another MCAsmInfo class, which inherits from MCAsmInfo, // If you need to create another MCAsmInfo class, which inherits from MCAsmInfo,
// you will need to make sure your new class sets PrivateGlobalPrefix to // you will need to make sure your new class sets PrivateGlobalPrefix to
// a prefix that won't appeary in a fuction name. The default value // a prefix that won't appear in a function name. The default value
// for PrivateGlobalPrefix is 'L', so it will consider any function starting // for PrivateGlobalPrefix is 'L', so it will consider any function starting
// with 'L' as a local symbol. // with 'L' as a local symbol.
class AMDGPUMCAsmInfo : public MCAsmInfoELF { class AMDGPUMCAsmInfo : public MCAsmInfoELF {

View File

@ -1,4 +1,4 @@
//===-- ARMMachineFuctionInfo.cpp - ARM machine function info -------------===// //===-- ARMMachineFunctionInfo.cpp - ARM machine function info ------------===//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //

View File

@ -1,4 +1,4 @@
//===-- ARMMachineFuctionInfo.h - ARM machine function info -----*- C++ -*-===// //===-- ARMMachineFunctionInfo.h - ARM machine function info ----*- C++ -*-===//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //

View File

@ -1,4 +1,4 @@
//===-- MSP430MachineFuctionInfo.cpp - MSP430 machine function info -------===// //===-- MSP430MachineFucntionInfo.cpp - MSP430 machine function info ------===//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //

View File

@ -1,4 +1,4 @@
//===- MSP430MachineFuctionInfo.h - MSP430 machine function info -*- C++ -*-==// //=== MSP430MachineFunctionInfo.h - MSP430 machine function info -*- C++ -*-==//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //

View File

@ -1,4 +1,4 @@
//== SystemZMachineFuctionInfo.cpp - SystemZ machine function info-*- C++ -*-=// //=== SystemZMachineFunctionInfo.cpp - SystemZ machine function info ------===//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //

View File

@ -1,4 +1,4 @@
//==- SystemZMachineFuctionInfo.h - SystemZ machine function info -*- C++ -*-=// //=== SystemZMachineFunctionInfo.h - SystemZ machine function info -*- C++ -*-//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //

View File

@ -1,4 +1,4 @@
// WebAssemblyMachineFuctionInfo.h-WebAssembly machine function info -*- C++ -*- // WebAssemblyMachineFunctionInfo.h-WebAssembly machine function info-*- C++ -*-
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //

View File

@ -1,4 +1,4 @@
//===-- X86MachineFuctionInfo.cpp - X86 machine function info -------------===// //===-- X86MachineFunctionInfo.cpp - X86 machine function info ------------===//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //

View File

@ -1,4 +1,4 @@
//===-- X86MachineFuctionInfo.h - X86 machine function info -----*- C++ -*-===// //===-- X86MachineFunctionInfo.h - X86 machine function info ----*- C++ -*-===//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //

View File

@ -1,4 +1,4 @@
//===-- XCoreMachineFuctionInfo.cpp - XCore machine function info ---------===// //===-- XCoreMachineFunctionInfo.cpp - XCore machine function info --------===//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //

View File

@ -1,4 +1,4 @@
//===-- XCoreMachineFuctionInfo.h - XCore machine function info -*- C++ -*-===// //===- XCoreMachineFunctionInfo.h - XCore machine function info -*- C++ -*-===//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //

View File

@ -696,7 +696,7 @@ namespace {
} }
// Helper fuctions of redundant load elimination // Helper functions of redundant load elimination
bool processLoad(LoadInst *L); bool processLoad(LoadInst *L);
bool processNonLocalLoad(LoadInst *L); bool processNonLocalLoad(LoadInst *L);
void AnalyzeLoadAvailability(LoadInst *LI, LoadDepVect &Deps, void AnalyzeLoadAvailability(LoadInst *LI, LoadDepVect &Deps,

View File

@ -3,7 +3,7 @@
; Test calling function pointer passed in struct ; Test calling function pointer passed in struct
; The fuction argument `h' in ; The function argument `h' in
; struct foo { ; struct foo {
; void (*f) (void); ; void (*f) (void);