|
CGRAOmp
0.1
|
An abstract class for the verification information. More...
#include <VerifyPass.hpp>
Public Member Functions | |
| VerifyResultBase (VerificationKind kind) | |
| Construct a new Verify Result Base object. More... | |
| VerifyResultBase ()=delete | |
| default constructor More... | |
| operator bool () | |
| explicit cast operator for Boolean Derived classes can custom the violation condition by overriding bool_operator_impl More... | |
| virtual void | print (raw_ostream &OS) const =0 |
| An abstract method to print the verification result. More... | |
| void | dump () |
| dump the verification result like as debugging in LLVM More... | |
| virtual StringRef | getName () const =0 |
| void | setVio () |
| mark this result as violated More... | |
| virtual VerificationKind | getKind () const |
| get the kind of derived class More... | |
Protected Member Functions | |
| virtual bool | bool_operator_impl () |
| An actual impelementation for casting to Boolean. More... | |
Protected Attributes | |
| bool | isViolate = false |
Private Attributes | |
| VerificationKind | kind |
Friends | |
| raw_ostream & | operator<< (raw_ostream &OS, const VerifyResultBase &v) |
| support << operator to show the verification result More... | |
An abstract class for the verification information.
|
inlineexplicit |
Construct a new Verify Result Base object.
|
delete |
default constructor
|
inlineprotectedvirtual |
An actual impelementation for casting to Boolean.
Reimplemented in CGRAOmp::InstAvailability, and CGRAOmp::LoopVerifyResult.
|
inline |
dump the verification result like as debugging in LLVM
|
inlinevirtual |
get the kind of derived class
|
pure virtual |
|
inlineexplicit |
explicit cast operator for Boolean Derived classes can custom the violation condition by overriding bool_operator_impl
|
pure virtual |
An abstract method to print the verification result.
| OS | an output stream |
Implemented in CGRAOmp::InstAvailability, CGRAOmp::VerifyResult, CGRAOmp::LoopVerifyResult, CGRAOmp::AffineAGCompatibility, CGRAOmp::AGCompatibility, and CGRAOmp::SimpleVerifyResult< Kind >.
|
inline |
mark this result as violated
|
friend |
support << operator to show the verification result
|
protected |
|
private |
1.8.17