summaryrefslogtreecommitdiffstats
path: root/polly/lib/Analysis/ScopInfo.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <doerfert@cs.uni-saarland.de>2016-02-02 14:15:13 +0000
committerJohannes Doerfert <doerfert@cs.uni-saarland.de>2016-02-02 14:15:13 +0000
commita1f291ed1845c18dc10a8cf2945c88f0b27652dd (patch)
tree420dc0791029acac06466892665e1c6acbf068ac /polly/lib/Analysis/ScopInfo.cpp
parenta87810351c29a0c159f421c439cd627fd4ebcf47 (diff)
downloadbcm5719-llvm-a1f291ed1845c18dc10a8cf2945c88f0b27652dd.tar.gz
bcm5719-llvm-a1f291ed1845c18dc10a8cf2945c88f0b27652dd.zip
Rename the DataLayout member [NFC]
llvm-svn: 259502
Diffstat (limited to 'polly/lib/Analysis/ScopInfo.cpp')
-rw-r--r--polly/lib/Analysis/ScopInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp
index 9f53dd23be2..0d72d974eb9 100644
--- a/polly/lib/Analysis/ScopInfo.cpp
+++ b/polly/lib/Analysis/ScopInfo.cpp
@@ -3764,7 +3764,7 @@ void ScopInfo::buildMemoryAccess(
Value *Address = Inst.getPointerOperand();
Value *Val = Inst.getValueOperand();
Type *SizeType = Val->getType();
- unsigned Size = TD->getTypeAllocSize(SizeType);
+ unsigned Size = DL->getTypeAllocSize(SizeType);
enum MemoryAccess::AccessType Type =
Inst.isLoad() ? MemoryAccess::READ : MemoryAccess::MUST_WRITE;
@@ -3851,7 +3851,7 @@ void ScopInfo::buildMemoryAccess(
// FIXME: Size of the number of bytes of an array element, not the number of
// elements as probably intended here.
const SCEV *SizeSCEV =
- SE->getConstant(TD->getIntPtrType(Inst.getContext()), Size);
+ SE->getConstant(DL->getIntPtrType(Inst.getContext()), Size);
if (!IsAffine && Type == MemoryAccess::MUST_WRITE)
Type = MemoryAccess::MAY_WRITE;
@@ -4131,7 +4131,7 @@ bool ScopInfo::runOnRegion(Region *R, RGPassManager &RGM) {
SE = &getAnalysis<ScalarEvolutionWrapperPass>().getSE();
LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
AA = &getAnalysis<AAResultsWrapperPass>().getAAResults();
- TD = &F->getParent()->getDataLayout();
+ DL = &F->getParent()->getDataLayout();
DT = &getAnalysis<DominatorTreeWrapperPass>().getDomTree();
auto &AC = getAnalysis<AssumptionCacheTracker>().getAssumptionCache(*F);
OpenPOWER on IntegriCloud