Polly 19.0.0git
Public Member Functions | Protected Attributes | List of all members
polly::ReportAffFunc Class Reference

Base class for non-affine reject reasons. More...

#include <ScopDetectionDiagnostic.h>

Inheritance diagram for polly::ReportAffFunc:
Inheritance graph
[legend]

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()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ReportAffFunc()

polly::ReportAffFunc::ReportAffFunc ( const RejectReasonKind  K,
const Instruction *  Inst 
)

Definition at line 302 of file ScopDetectionDiagnostic.cpp.

Member Function Documentation

◆ classof()

bool polly::ReportAffFunc::classof ( const RejectReason RR)
static

◆ getDebugLoc()

const DebugLoc & polly::ReportAffFunc::getDebugLoc ( ) const
inlineoverridevirtual

Get the source location of this error.

Returns
The debug location for this error.

Reimplemented from polly::RejectReason.

Definition at line 325 of file ScopDetectionDiagnostic.h.

References Inst.

Member Data Documentation

◆ Inst

const Instruction* polly::ReportAffFunc::Inst
protected

The documentation for this class was generated from the following files: