mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 12:39:19 +00:00
Remove unsused methodes [NFC]
llvm-svn: 270050
This commit is contained in:
parent
8ce1f7177b
commit
6dc3616195
@ -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(); }
|
||||
|
@ -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(); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user