Polly 22.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 BasicBlock * | 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. |
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 301 of file ScopDetectionDiagnostic.cpp.
References Inst, and polly::RejectReason::RejectReason().
Referenced by polly::ReportDifferentArrayElementSize::ReportDifferentArrayElementSize(), polly::ReportInvalidCond::ReportInvalidCond(), polly::ReportNoBasePtr::ReportNoBasePtr(), polly::ReportNonAffBranch::ReportNonAffBranch(), polly::ReportNonAffineAccess::ReportNonAffineAccess(), polly::ReportUndefBasePtr::ReportUndefBasePtr(), polly::ReportUndefCond::ReportUndefCond(), polly::ReportUndefOperand::ReportUndefOperand(), and polly::ReportVariantBasePtr::ReportVariantBasePtr().
|
static |
Definition at line 304 of file ScopDetectionDiagnostic.cpp.
References polly::AffFunc, polly::RejectReason::getKind(), polly::LastAffFunc, and polly::RejectReason::RejectReason().
|
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::ReportDifferentArrayElementSize::getRemarkBB(), polly::ReportNoBasePtr::getRemarkBB(), polly::ReportNonAffineAccess::getRemarkBB(), polly::ReportUndefBasePtr::getRemarkBB(), polly::ReportVariantBasePtr::getRemarkBB(), ReportAffFunc(), polly::ReportDifferentArrayElementSize::ReportDifferentArrayElementSize(), polly::ReportInvalidCond::ReportInvalidCond(), polly::ReportNoBasePtr::ReportNoBasePtr(), polly::ReportNonAffBranch::ReportNonAffBranch(), polly::ReportNonAffineAccess::ReportNonAffineAccess(), polly::ReportUndefBasePtr::ReportUndefBasePtr(), polly::ReportUndefCond::ReportUndefCond(), polly::ReportUndefOperand::ReportUndefOperand(), and polly::ReportVariantBasePtr::ReportVariantBasePtr().