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

#include <VerifyPass.hpp>

Inheritance diagram for CGRAOmp::InstAvailability:
CGRAOmp::VerifyResultBase

Public Member Functions

 InstAvailability ()
 
void filter (SmallVector< Instruction * > *list)
 
void filter (SmallPtrSetImpl< Instruction * > *list)
 
void print (raw_ostream &OS) const override
 An abstract method to print the verification result. More...
 
void add_unsupported (Instruction *I)
 
StringRef getName () const
 
- 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...
 

Private Member Functions

bool bool_operator_impl () override
 bool_operator More...
 

Private Attributes

SmallPtrSet< Instruction *, 32 > unsupported
 

Additional Inherited Members

- Protected Attributes inherited from CGRAOmp::VerifyResultBase
bool isViolate = false
 

Constructor & Destructor Documentation

◆ InstAvailability()

CGRAOmp::InstAvailability::InstAvailability ( )
inline

Member Function Documentation

◆ add_unsupported()

void CGRAOmp::InstAvailability::add_unsupported ( Instruction *  I)
inline

◆ bool_operator_impl()

bool CGRAOmp::InstAvailability::bool_operator_impl ( )
inlineoverrideprivatevirtual

bool_operator

Returns
true if the kernel includes no unsupported inst
otherwise false

Reimplemented from CGRAOmp::VerifyResultBase.

◆ filter() [1/2]

void InstAvailability::filter ( SmallPtrSetImpl< Instruction * > *  list)

◆ filter() [2/2]

void InstAvailability::filter ( SmallVector< Instruction * > *  list)

◆ getName()

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

◆ print()

void InstAvailability::print ( raw_ostream &  OS) const
overridevirtual

An abstract method to print the verification result.

Parameters
OSan output stream

Implements CGRAOmp::VerifyResultBase.

Member Data Documentation

◆ unsupported

SmallPtrSet<Instruction*, 32> CGRAOmp::InstAvailability::unsupported
private

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