Introduce MemAccInst helper class; NFC
authorMichael Kruse <llvm@meinersbur.de>
Wed, 27 Jan 2016 17:09:17 +0000 (17:09 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Wed, 27 Jan 2016 17:09:17 +0000 (17:09 +0000)
commit70131d341620cb60cb1c516fefd3eb655241b173
treedd643c8d1c0e38cb1d8b5214da65475d97513957
parentcddde58f1c5d6956f669f690fb65920314f4e727
Introduce MemAccInst helper class; NFC

MemAccInst wraps the common members of LoadInst and StoreInst. Also use
of this class in:
- ScopInfo::buildMemoryAccess
- BlockGenerator::generateLocationAccessed
- ScopInfo::addArrayAccess
- Scop::buildAliasGroups
- Replace every use of polly::getPointerOperand

Reviewers: jdoerfert, grosser

Differential Revision: http://reviews.llvm.org/D16530

llvm-svn: 258947
polly/include/polly/CodeGen/BlockGenerators.h
polly/include/polly/ScopDetection.h
polly/include/polly/ScopInfo.h
polly/include/polly/Support/ScopHelper.h
polly/lib/Analysis/ScopDetection.cpp
polly/lib/Analysis/ScopInfo.cpp
polly/lib/CodeGen/BlockGenerators.cpp
polly/lib/CodeGen/IRBuilder.cpp
polly/lib/CodeGen/IslNodeBuilder.cpp
polly/lib/Support/ScopHelper.cpp