diff options
author | Andreas Simbuerger <simbuerg@fim.uni-passau.de> | 2014-05-24 09:25:14 +0000 |
---|---|---|
committer | Andreas Simbuerger <simbuerg@fim.uni-passau.de> | 2014-05-24 09:25:14 +0000 |
commit | f6ee78cfb7869dba4f797cbc0573bf02beac7810 (patch) | |
tree | 65040c8339601c7589c7a5764473cd3711c0ee81 | |
parent | 0447240ee93e8e686456b0a9a8b1a09245f10b83 (diff) | |
download | bcm5719-llvm-f6ee78cfb7869dba4f797cbc0573bf02beac7810.tar.gz bcm5719-llvm-f6ee78cfb7869dba4f797cbc0573bf02beac7810.zip |
Expose diagnostic info to users
llvm-svn: 209575
-rw-r--r-- | polly/include/polly/ScopDetectionDiagnostic.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/polly/include/polly/ScopDetectionDiagnostic.h b/polly/include/polly/ScopDetectionDiagnostic.h index 452e25da230..d9fb1e2912a 100644 --- a/polly/include/polly/ScopDetectionDiagnostic.h +++ b/polly/include/polly/ScopDetectionDiagnostic.h @@ -201,6 +201,9 @@ public: ReportNonAffBranch(BasicBlock *BB, const SCEV *LHS, const SCEV *RHS) : BB(BB), LHS(LHS), RHS(RHS) {} + const SCEV *lhs() { return LHS; } + const SCEV *rhs() { return RHS; } + /// @name RejectReason interface //@{ virtual std::string getMessage() const; @@ -258,6 +261,8 @@ public: ReportNonAffineAccess(const SCEV *AccessFunction) : AccessFunction(AccessFunction) {} + const SCEV *get() { return AccessFunction; } + /// @name RejectReason interface //@{ virtual std::string getMessage() const; @@ -353,6 +358,8 @@ class ReportLoopBound : public RejectReason { public: ReportLoopBound(Loop *L, const SCEV *LoopCount); + const SCEV *loopCount() { return LoopCount; } + /// @name RejectReason interface //@{ virtual std::string getMessage() const; |