[polly] r270050 - Remove unsused methodes [NFC]
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Thu May 19 05:31:16 PDT 2016
Author: jdoerfert
Date: Thu May 19 07:31:16 2016
New Revision: 270050
URL: http://llvm.org/viewvc/llvm-project?rev=270050&view=rev
Log:
Remove unsused methodes [NFC]
Modified:
polly/trunk/include/polly/ScopInfo.h
polly/trunk/lib/Analysis/ScopInfo.cpp
Modified: polly/trunk/include/polly/ScopInfo.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/ScopInfo.h?rev=270050&r1=270049&r2=270050&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopInfo.h (original)
+++ polly/trunk/include/polly/ScopInfo.h Thu May 19 07:31:16 2016
@@ -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(); }
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=270050&r1=270049&r2=270050&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Thu May 19 07:31:16 2016
@@ -1665,8 +1665,6 @@ BasicBlock *ScopStmt::getEntryBlock() co
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(); }
More information about the llvm-commits
mailing list