diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-10-10 17:57:28 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-10-10 17:57:28 +0000 |
commit | cf00c4ab3ba308d45d98c5ccab87362cf802facb (patch) | |
tree | ba6836d8bf430b9b2fb55ad5fd6d2a02f18a9f32 /lib/Transforms/IPO | |
parent | 452fea997232437902385e88366482b01957eeef (diff) |
Fix spelling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO')
-rw-r--r-- | lib/Transforms/IPO/DeadArgumentElimination.cpp | 2 | ||||
-rw-r--r-- | lib/Transforms/IPO/ExtractFunction.cpp | 2 | ||||
-rw-r--r-- | lib/Transforms/IPO/InlineSimple.cpp | 2 | ||||
-rw-r--r-- | lib/Transforms/IPO/MutateStructTypes.cpp | 2 | ||||
-rw-r--r-- | lib/Transforms/IPO/Parallelize.cpp | 6 |
5 files changed, 7 insertions, 7 deletions
diff --git a/lib/Transforms/IPO/DeadArgumentElimination.cpp b/lib/Transforms/IPO/DeadArgumentElimination.cpp index f8aaf35d82..ece26d5fae 100644 --- a/lib/Transforms/IPO/DeadArgumentElimination.cpp +++ b/lib/Transforms/IPO/DeadArgumentElimination.cpp @@ -232,7 +232,7 @@ void DAE::RemoveDeadArgumentsFromFunction(Function *F, bool DAE::run(Module &M) { // First phase: loop through the module, determining which arguments are live. // We assume all arguments are dead unless proven otherwise (allowing us to - // determing that dead arguments passed into recursive functions are dead). + // determine that dead arguments passed into recursive functions are dead). // std::set<Argument*> LiveArguments, MaybeLiveArguments, DeadArguments; std::multimap<Function*, CallSite> CallSites; diff --git a/lib/Transforms/IPO/ExtractFunction.cpp b/lib/Transforms/IPO/ExtractFunction.cpp index f16c3f3253..51c4e00987 100644 --- a/lib/Transforms/IPO/ExtractFunction.cpp +++ b/lib/Transforms/IPO/ExtractFunction.cpp @@ -15,7 +15,7 @@ namespace { if (Named == 0) return false; // No function to extract } - // Make sure our result is globally accessable... + // Make sure our result is globally accessible... Named->setLinkage(GlobalValue::ExternalLinkage); // Mark all global variables internal diff --git a/lib/Transforms/IPO/InlineSimple.cpp b/lib/Transforms/IPO/InlineSimple.cpp index 5e72d8a2e6..b2299c3ecf 100644 --- a/lib/Transforms/IPO/InlineSimple.cpp +++ b/lib/Transforms/IPO/InlineSimple.cpp @@ -52,7 +52,7 @@ int SimpleInliner::getInlineCost(CallSite CS) { if (Callee->use_size() == 1 && Callee->hasInternalLinkage()) InlineCost -= 30000; - // Add to the inline quality for properties that make the call valueable to + // Add to the inline quality for properties that make the call valuable to // inline. This includes factors that indicate that the result of inlining // the function will be optimizable. Currently this just looks at arguments // passed into the function. diff --git a/lib/Transforms/IPO/MutateStructTypes.cpp b/lib/Transforms/IPO/MutateStructTypes.cpp index 2ea6938be2..f10bccef9d 100644 --- a/lib/Transforms/IPO/MutateStructTypes.cpp +++ b/lib/Transforms/IPO/MutateStructTypes.cpp @@ -93,7 +93,7 @@ const Type *MutateStructTypes::ConvertType(const Type *Ty) { } -// AdjustIndices - Convert the indexes specifed by Idx to the new changed form +// AdjustIndices - Convert the indices specified by Idx to the new changed form // using the specified OldTy as the base type being indexed into. // void MutateStructTypes::AdjustIndices(const CompositeType *OldTy, diff --git a/lib/Transforms/IPO/Parallelize.cpp b/lib/Transforms/IPO/Parallelize.cpp index e533c4ea5e..09b7dc21cd 100644 --- a/lib/Transforms/IPO/Parallelize.cpp +++ b/lib/Transforms/IPO/Parallelize.cpp @@ -81,7 +81,7 @@ static bool isSync(const CallInst& CI) { // class Cilkifier // // Code generation pass that transforms code to identify where Cilk keywords -// should be inserted. This relies on dis -c to print out the keywords. +// should be inserted. This relies on `llvm-dis -c' to print out the keywords. //---------------------------------------------------------------------------- @@ -167,7 +167,7 @@ void Cilkifier::DFSVisitInstr(Instruction* I, else syncI = new CallInst(DummySyncFunc, std::vector<Value*>(), "", I); - // Remember the sync for each spawn to eliminate rendundant ones later + // Remember the sync for each spawn to eliminate redundant ones later spawnToSyncsMap[cast<CallInst>(root)].insert(syncI); return; @@ -494,7 +494,7 @@ bool Parallelize::run(Module& M) #undef CAN_USE_BIND1ST_ON_REFERENCE_TYPE_ARGS #ifdef CAN_USE_BIND1ST_ON_REFERENCE_TYPE_ARGS - // Use this undecipherable STLese because erase invalidates iterators. + // Use this indecipherable STLese because erase invalidates iterators. // Otherwise we have to copy sets as above. hash_set<Function*>::iterator extrasBegin = std::remove_if(parallelFunctions.begin(), parallelFunctions.end(), |