diff options
Diffstat (limited to 'llvm/lib/Analysis/LoopAccessAnalysis.cpp')
-rw-r--r-- | llvm/lib/Analysis/LoopAccessAnalysis.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Analysis/LoopAccessAnalysis.cpp b/llvm/lib/Analysis/LoopAccessAnalysis.cpp index f409cd3..e678b31 100644 --- a/llvm/lib/Analysis/LoopAccessAnalysis.cpp +++ b/llvm/lib/Analysis/LoopAccessAnalysis.cpp @@ -938,7 +938,7 @@ void AccessAnalysis::processMemAccesses() { typedef SmallVector<const Value *, 16> ValueVector; ValueVector TempObjects; - GetUnderlyingObjects(Ptr, TempObjects, DL, LI); + getUnderlyingObjects(Ptr, TempObjects, DL, LI); LLVM_DEBUG(dbgs() << "Underlying objects for pointer " << *Ptr << "\n"); for (const Value *UnderlyingObj : TempObjects) { @@ -1142,7 +1142,7 @@ bool llvm::sortPtrAccesses(ArrayRef<Value *> VL, const DataLayout &DL, // first pointer in the array. Value *Ptr0 = VL[0]; const SCEV *Scev0 = SE.getSCEV(Ptr0); - Value *Obj0 = GetUnderlyingObject(Ptr0, DL); + Value *Obj0 = getUnderlyingObject(Ptr0, DL); llvm::SmallSet<int64_t, 4> Offsets; for (auto *Ptr : VL) { @@ -1153,7 +1153,7 @@ bool llvm::sortPtrAccesses(ArrayRef<Value *> VL, const DataLayout &DL, return false; // If a pointer refers to a different underlying object, bail - the // pointers are by definition incomparable. - Value *CurrObj = GetUnderlyingObject(Ptr, DL); + Value *CurrObj = getUnderlyingObject(Ptr, DL); if (CurrObj != Obj0) return false; @@ -1950,7 +1950,7 @@ void LoopAccessInfo::analyzeLoop(AAResults *AA, LoopInfo *LI, AccessAnalysis Accesses(TheLoop->getHeader()->getModule()->getDataLayout(), TheLoop, AA, LI, DependentAccesses, *PSE); - // Holds the analyzed pointers. We don't want to call GetUnderlyingObjects + // Holds the analyzed pointers. We don't want to call getUnderlyingObjects // multiple times on the same object. If the ptr is accessed twice, once // for read and once for write, it will only appear once (on the write // list). This is okay, since we are going to check for conflicts between |