[llvm-commits] [llvm] r74415 - /llvm/trunk/lib/Analysis/LoopDependenceAnalysis.cpp

Andreas Bolka a at bolka.at
Sun Jun 28 17:50:27 PDT 2009


Author: abolka
Date: Sun Jun 28 19:50:26 2009
New Revision: 74415

URL: http://llvm.org/viewvc/llvm-project?rev=74415&view=rev
Log:
Fix case in LDA util function names.

Modified:
    llvm/trunk/lib/Analysis/LoopDependenceAnalysis.cpp

Modified: llvm/trunk/lib/Analysis/LoopDependenceAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LoopDependenceAnalysis.cpp?rev=74415&r1=74414&r2=74415&view=diff

==============================================================================
--- llvm/trunk/lib/Analysis/LoopDependenceAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/LoopDependenceAnalysis.cpp Sun Jun 28 19:50:26 2009
@@ -36,17 +36,17 @@
 //                             Utility Functions
 //===----------------------------------------------------------------------===//
 
-static inline bool isMemRefInstr(const Value *I) {
+static inline bool IsMemRefInstr(const Value *I) {
   return isa<LoadInst>(I) || isa<StoreInst>(I);
 }
 
-static void getMemRefInstrs(
+static void GetMemRefInstrs(
     const Loop *L, SmallVectorImpl<Instruction*> &memrefs) {
   for (Loop::block_iterator b = L->block_begin(), be = L->block_end();
       b != be; ++b)
     for (BasicBlock::iterator i = (*b)->begin(), ie = (*b)->end();
         i != ie; ++i)
-      if (isMemRefInstr(i))
+      if (IsMemRefInstr(i))
         memrefs.push_back(i);
 }
 
@@ -56,7 +56,7 @@
 
 bool LoopDependenceAnalysis::isDependencePair(const Value *x,
                                               const Value *y) const {
-  return isMemRefInstr(x) && isMemRefInstr(y)
+  return IsMemRefInstr(x) && IsMemRefInstr(y)
       && (isa<StoreInst>(x) || isa<StoreInst>(y));
 }
 





More information about the llvm-commits mailing list