Remove unsused methodes [NFC]

llvm-svn: 270050
This commit is contained in:
Johannes Doerfert 2016-05-19 12:31:16 +00:00
parent 8ce1f7177b
commit 6dc3616195
2 changed files with 0 additions and 12 deletions

View File

@ -1218,13 +1218,6 @@ public:
return PHIWrites.lookup(PHI);
}
void setBasicBlock(BasicBlock *Block) {
// TODO: Handle the case where the statement is a region statement, thus
// the entry block was split and needs to be changed in the region R.
assert(BB && "Cannot set a block for a region statement");
BB = Block;
}
/// @brief Add @p Access to this statement's list of accesses.
void addAccess(MemoryAccess *Access);
@ -1243,7 +1236,6 @@ public:
const_iterator end() const { return MemAccs.end(); }
size_t size() const { return MemAccs.size(); }
unsigned getNumParams() const;
unsigned getNumIterators() const;
Scop *getParent() { return &Parent; }
@ -1848,8 +1840,6 @@ public:
/// @brief Take a list of parameters and add the new ones to the scop.
void addParams(const ParameterSetTy &NewParameters);
int getNumArrays() { return ScopArrayInfoMap.size(); }
/// @brief Return whether this scop is empty, i.e. contains no statements that
/// could be executed.
bool isEmpty() const { return Stmts.empty(); }

View File

@ -1665,8 +1665,6 @@ BasicBlock *ScopStmt::getEntryBlock() const {
return getRegion()->getEntry();
}
unsigned ScopStmt::getNumParams() const { return Parent.getNumParams(); }
unsigned ScopStmt::getNumIterators() const { return NestLoops.size(); }
const char *ScopStmt::getBaseName() const { return BaseName.c_str(); }