[polly] r209575 - Expose diagnostic info to users
Andreas Simbuerger
simbuerg at fim.uni-passau.de
Sat May 24 02:25:14 PDT 2014
Author: simbuerg
Date: Sat May 24 04:25:14 2014
New Revision: 209575
URL: http://llvm.org/viewvc/llvm-project?rev=209575&view=rev
Log:
Expose diagnostic info to users
Modified:
polly/trunk/include/polly/ScopDetectionDiagnostic.h
Modified: polly/trunk/include/polly/ScopDetectionDiagnostic.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/ScopDetectionDiagnostic.h?rev=209575&r1=209574&r2=209575&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopDetectionDiagnostic.h (original)
+++ polly/trunk/include/polly/ScopDetectionDiagnostic.h Sat May 24 04:25:14 2014
@@ -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 RejectRea
public:
ReportLoopBound(Loop *L, const SCEV *LoopCount);
+ const SCEV *loopCount() { return LoopCount; }
+
/// @name RejectReason interface
//@{
virtual std::string getMessage() const;
More information about the llvm-commits
mailing list