ScopInfo: Rename AccessType -> ElementType to unify naming with method declaration
authorTobias Grosser <tobias@grosser.es>
Tue, 2 Feb 2016 13:22:54 +0000 (13:22 +0000)
committerTobias Grosser <tobias@grosser.es>
Tue, 2 Feb 2016 13:22:54 +0000 (13:22 +0000)
llvm-svn: 259495

polly/lib/Analysis/ScopInfo.cpp

index 80d1380..a8fe166 100644 (file)
@@ -2975,13 +2975,13 @@ void Scop::hoistInvariantLoads() {
 }
 
 const ScopArrayInfo *
-Scop::getOrCreateScopArrayInfo(Value *BasePtr, Type *AccessType,
+Scop::getOrCreateScopArrayInfo(Value *BasePtr, Type *ElementType,
                                ArrayRef<const SCEV *> Sizes,
                                ScopArrayInfo::MemoryKind Kind) {
   auto &SAI = ScopArrayInfoMap[std::make_pair(BasePtr, Kind)];
   if (!SAI) {
     auto &DL = getRegion().getEntry()->getModule()->getDataLayout();
-    SAI.reset(new ScopArrayInfo(BasePtr, AccessType, getIslCtx(), Sizes, Kind,
+    SAI.reset(new ScopArrayInfo(BasePtr, ElementType, getIslCtx(), Sizes, Kind,
                                 DL, this));
   } else {
     // In case of mismatching array sizes, we bail out by setting the run-time