Polly 20.0.0git
|
Base class for non-affine reject reasons. More...
#include <ScopDetectionDiagnostic.h>
Public Member Functions | |
ReportAffFunc (const RejectReasonKind K, const Instruction *Inst) | |
RejectReason interface | |
const DebugLoc & | getDebugLoc () const override |
Get the source location of this error. | |
Public Member Functions inherited from polly::RejectReason | |
RejectReason (RejectReasonKind K) | |
virtual | ~RejectReason ()=default |
RejectReasonKind | getKind () const |
virtual std::string | getRemarkName () const =0 |
Generate the remark name to identify this remark. | |
virtual const Value * | getRemarkBB () const =0 |
Get the Basic Block containing this remark. | |
virtual std::string | getMessage () const =0 |
Generate a reasonable diagnostic message describing this error. | |
virtual std::string | getEndUserMessage () const |
Generate a message for the end-user describing this error. | |
virtual const DebugLoc & | getDebugLoc () const |
Get the source location of this error. | |
Static Public Member Functions | |
LLVM-RTTI interface | |
static bool | classof (const RejectReason *RR) |
Protected Attributes | |
const Instruction * | Inst |
Additional Inherited Members | |
Static Protected Attributes inherited from polly::RejectReason | |
static const DebugLoc | Unknown = DebugLoc() |
Base class for non-affine reject reasons.
Scop candidates that violate restrictions to affinity are reported under this class.
Definition at line 310 of file ScopDetectionDiagnostic.h.
polly::ReportAffFunc::ReportAffFunc | ( | const RejectReasonKind | K, |
const Instruction * | Inst | ||
) |
Definition at line 302 of file ScopDetectionDiagnostic.cpp.
|
static |
Definition at line 305 of file ScopDetectionDiagnostic.cpp.
References polly::AffFunc, polly::RejectReason::getKind(), and polly::LastAffFunc.
|
inlineoverridevirtual |
Get the source location of this error.
Reimplemented from polly::RejectReason.
Definition at line 325 of file ScopDetectionDiagnostic.h.
References Inst.
|
protected |
Definition at line 313 of file ScopDetectionDiagnostic.h.
Referenced by getDebugLoc(), polly::ReportNoBasePtr::getRemarkBB(), polly::ReportUndefBasePtr::getRemarkBB(), polly::ReportVariantBasePtr::getRemarkBB(), polly::ReportNonAffineAccess::getRemarkBB(), and polly::ReportDifferentArrayElementSize::getRemarkBB().