diff options
Diffstat (limited to 'polly/lib/Support/ScopHelper.cpp')
-rw-r--r-- | polly/lib/Support/ScopHelper.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/polly/lib/Support/ScopHelper.cpp b/polly/lib/Support/ScopHelper.cpp index 180f5795090..904492a2814 100644 --- a/polly/lib/Support/ScopHelper.cpp +++ b/polly/lib/Support/ScopHelper.cpp @@ -66,15 +66,6 @@ Value *polly::getPointerOperand(Instruction &Inst) { return 0; } -//===----------------------------------------------------------------------===// -// Helper functions - -bool polly::isIndVar(const Instruction *I, const LoopInfo *LI) { - Loop *L = LI->getLoopFor(I->getParent()); - - return L && I == L->getCanonicalInductionVariable(); -} - bool polly::hasInvokeEdge(const PHINode *PN) { for (unsigned i = 0, e = PN->getNumIncomingValues(); i < e; ++i) if (InvokeInst *II = dyn_cast<InvokeInst>(PN->getIncomingValue(i))) |