CGRAOmp  0.1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
CGRAOmp::AGCompatibility Class Reference

A derived class from VerifyResultBase describing whether the memory access pattern is compatible with the AGs or not. More...

#include <AGVerifyPass.hpp>

Inheritance diagram for CGRAOmp::AGCompatibility:
CGRAOmp::VerifyResultBase CGRAOmp::AffineAGCompatibility

Public Member Functions

 AGCompatibility (AddressGenerator::Kind AGKind)
 Construct a new AGCompatibility object. More...
 
void print (raw_ostream &OS) const override
 An abstract method to print the verification result. More...
 
AddressGenerator::Kind geAGtKind () const
 Get the Kind object. More...
 
StringRef getName () const
 
virtual llvm::json::Value getConfigAsJson (Instruction *I) const
 
int getDynamicTripCount ()
 
- Public Member Functions inherited from CGRAOmp::VerifyResultBase
 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...
 
void dump ()
 dump the verification result like as debugging in LLVM More...
 
void setVio ()
 mark this result as violated More...
 
virtual VerificationKind getKind () const
 get the kind of derived class More...
 

Static Public Member Functions

static bool classof (const VerifyResultBase *R)
 

Private Attributes

AddressGenerator::Kind ag_kind
 

Additional Inherited Members

- Protected Member Functions inherited from CGRAOmp::VerifyResultBase
virtual bool bool_operator_impl ()
 An actual impelementation for casting to Boolean. More...
 
- Protected Attributes inherited from CGRAOmp::VerifyResultBase
bool isViolate = false
 

Detailed Description

A derived class from VerifyResultBase describing whether the memory access pattern is compatible with the AGs or not.

Constructor & Destructor Documentation

◆ AGCompatibility()

CGRAOmp::AGCompatibility::AGCompatibility ( AddressGenerator::Kind  AGKind)
inline

Construct a new AGCompatibility object.

Member Function Documentation

◆ classof()

static bool CGRAOmp::AGCompatibility::classof ( const VerifyResultBase R)
inlinestatic

◆ geAGtKind()

AddressGenerator::Kind CGRAOmp::AGCompatibility::geAGtKind ( ) const
inline

Get the Kind object.

Returns
AddressGenerator::Kind

◆ getConfigAsJson()

virtual llvm::json::Value CGRAOmp::AGCompatibility::getConfigAsJson ( Instruction *  I) const
inlinevirtual

Reimplemented in CGRAOmp::AffineAGCompatibility.

◆ getDynamicTripCount()

int CGRAOmp::AGCompatibility::getDynamicTripCount ( )

◆ getName()

StringRef CGRAOmp::AGCompatibility::getName ( ) const
inlinevirtual

◆ print()

void CGRAOmp::AGCompatibility::print ( raw_ostream &  OS) const
inlineoverridevirtual

An abstract method to print the verification result.

Parameters
OSan output stream

Implements CGRAOmp::VerifyResultBase.

Reimplemented in CGRAOmp::AffineAGCompatibility.

Member Data Documentation

◆ ag_kind

AddressGenerator::Kind CGRAOmp::AGCompatibility::ag_kind
private

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