mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-03 14:21:30 +00:00
Fix typos in comments, NFC
Summary: Just fixing comments, no functional change. Test Plan: N/A Reviewers: jfb Subscribers: mcrosier, llvm-commits Differential Revision: http://reviews.llvm.org/D5130 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216784 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -537,7 +537,7 @@ public:
|
||||
|
||||
static void *ID() { return (void *)&PassID; }
|
||||
|
||||
/// \brief Compute the \c LazyCallGraph for a the module \c M.
|
||||
/// \brief Compute the \c LazyCallGraph for the module \c M.
|
||||
///
|
||||
/// This just builds the set of entry points to the call graph. The rest is
|
||||
/// built lazily as it is walked.
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
namespace llvm {
|
||||
|
||||
/// PostDominatorTree Class - Concrete subclass of DominatorTree that is used to
|
||||
/// compute the a post-dominator tree.
|
||||
/// compute the post-dominator tree.
|
||||
///
|
||||
struct PostDominatorTree : public FunctionPass {
|
||||
static char ID; // Pass identification, replacement for typeid
|
||||
|
||||
@@ -183,7 +183,7 @@ public:
|
||||
/// should probably move to simpler cost metrics using the above.
|
||||
/// Alternatively, we could split the cost interface into distinct code-size
|
||||
/// and execution-speed costs. This would allow modelling the core of this
|
||||
/// query more accurately as the a call is a single small instruction, but
|
||||
/// query more accurately as a call is a single small instruction, but
|
||||
/// incurs significant execution cost.
|
||||
virtual bool isLoweredToCall(const Function *F) const;
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace llvm {
|
||||
|
||||
///
|
||||
/// PostDominatorTree Class - Concrete subclass of DominatorTree that is used
|
||||
/// to compute the a post-dominator tree.
|
||||
/// to compute the post-dominator tree.
|
||||
///
|
||||
struct MachinePostDominatorTree : public MachineFunctionPass {
|
||||
private:
|
||||
|
||||
@@ -749,7 +749,7 @@ public:
|
||||
SDValue SV, unsigned Align);
|
||||
|
||||
/// getAtomicCmpSwap - Gets a node for an atomic cmpxchg op. There are two
|
||||
/// valid Opcodes. ISD::ATOMIC_CMO_SWAP produces a the value loaded and a
|
||||
/// valid Opcodes. ISD::ATOMIC_CMO_SWAP produces the value loaded and a
|
||||
/// chain result. ISD::ATOMIC_CMP_SWAP_WITH_SUCCESS produces the value loaded,
|
||||
/// a success flag (initially i1), and a chain.
|
||||
SDValue getAtomicCmpSwap(unsigned Opcode, SDLoc dl, EVT MemVT, SDVTList VTs,
|
||||
|
||||
@@ -446,7 +446,7 @@ private:
|
||||
/// The first template argument handles whether or not to preserve names in the
|
||||
/// final instruction output. This defaults to on. The second template argument
|
||||
/// specifies a class to use for creating constants. This defaults to creating
|
||||
/// minimally folded constants. The fourth template argument allows clients to
|
||||
/// minimally folded constants. The third template argument allows clients to
|
||||
/// specify custom insertion hooks that are called on every newly created
|
||||
/// insertion.
|
||||
template<bool preserveNames = true, typename T = ConstantFolder,
|
||||
|
||||
@@ -135,7 +135,7 @@ public:
|
||||
return getSubclassDataFromInstruction() & 32;
|
||||
}
|
||||
|
||||
/// \brief Specify whether this alloca is used to represent a the arguments to
|
||||
/// \brief Specify whether this alloca is used to represent the arguments to
|
||||
/// a call.
|
||||
void setUsedWithInAlloca(bool V) {
|
||||
setInstructionSubclassData((getSubclassDataFromInstruction() & ~32) |
|
||||
|
||||
@@ -323,7 +323,7 @@ public:
|
||||
}
|
||||
|
||||
/// getContainedType - This method is used to implement the type iterator
|
||||
/// (defined a the end of the file). For derived types, this returns the
|
||||
/// (defined at the end of the file). For derived types, this returns the
|
||||
/// types 'contained' in the derived type.
|
||||
///
|
||||
Type *getContainedType(unsigned i) const {
|
||||
|
||||
@@ -87,7 +87,7 @@ protected:
|
||||
bool HasMachoTBSSDirective;
|
||||
|
||||
/// True if the compiler should emit a ".reference .constructors_used" or
|
||||
/// ".reference .destructors_used" directive after the a static ctor/dtor
|
||||
/// ".reference .destructors_used" directive after the static ctor/dtor
|
||||
/// list. This directive is only emitted in Static relocation model. Default
|
||||
/// is false.
|
||||
bool HasStaticCtorDtorReferenceInStaticMode;
|
||||
|
||||
Reference in New Issue
Block a user