Polly 20.0.0git
|
Stores all errors that occurred during the detection. More...
#include <ScopDetectionDiagnostic.h>
Public Types | |
using | iterator = SmallVector< RejectReasonPtr, 1 >::const_iterator |
Public Member Functions | |
RejectLog (Region *R) | |
iterator | begin () const |
iterator | end () const |
size_t | size () const |
bool | hasErrors () const |
Returns true, if we store at least one error. | |
void | print (raw_ostream &OS, int level=0) const |
const Region * | region () const |
void | report (RejectReasonPtr Reject) |
Private Attributes | |
Region * | R |
SmallVector< RejectReasonPtr, 1 > | ErrorReports |
Stores all errors that occurred during the detection.
Definition at line 166 of file ScopDetectionDiagnostic.h.
using polly::RejectLog::iterator = SmallVector<RejectReasonPtr, 1>::const_iterator |
Definition at line 173 of file ScopDetectionDiagnostic.h.
|
inlineexplicit |
Definition at line 171 of file ScopDetectionDiagnostic.h.
|
inline |
Definition at line 175 of file ScopDetectionDiagnostic.h.
References ErrorReports.
|
inline |
Definition at line 176 of file ScopDetectionDiagnostic.h.
References ErrorReports.
|
inline |
Returns true, if we store at least one error.
Definition at line 182 of file ScopDetectionDiagnostic.h.
References size().
Referenced by polly::ScopDetection::detect(), polly::ScopDetection::emitMissedRemarks(), polly::ScopDetection::expandRegion(), and polly::ScopDetection::findScops().
void polly::RejectLog::print | ( | raw_ostream & | OS, |
int | level = 0 |
||
) | const |
Definition at line 182 of file ScopDetectionDiagnostic.cpp.
References ErrorReports.
|
inline |
Definition at line 186 of file ScopDetectionDiagnostic.h.
References R.
|
inline |
Definition at line 187 of file ScopDetectionDiagnostic.h.
References ErrorReports.
Referenced by polly::ScopDetection::invalid().
|
inline |
Definition at line 177 of file ScopDetectionDiagnostic.h.
References ErrorReports.
Referenced by polly::ScopDetection::canUseISLTripCount(), and hasErrors().
|
private |
|
private |
Definition at line 167 of file ScopDetectionDiagnostic.h.
Referenced by region().