MLIR 22.0.0git
mlir::acc::detail::OpenACCSupportTraits::Concept Class Referenceabstract

#include "mlir/Dialect/OpenACC/Analysis/OpenACCSupport.h"

Inheritance diagram for mlir::acc::detail::OpenACCSupportTraits::Concept:

Public Member Functions

virtual ~Concept ()=default
virtual std::string getVariableName (Value v)=0
 Get the variable name for a given MLIR value.
virtual std::string getRecipeName (RecipeKind kind, Type type, Value var)=0
 Get the recipe name for a given kind, type and value.
virtual InFlightDiagnostic emitNYI (Location loc, const Twine &message)=0
virtual bool isValidSymbolUse (Operation *user, SymbolRefAttr symbol, Operation **definingOpPtr)=0
 Check if a symbol use is valid for use in an OpenACC region.

Detailed Description

Definition at line 71 of file OpenACCSupport.h.

Constructor & Destructor Documentation

◆ ~Concept()

virtual mlir::acc::detail::OpenACCSupportTraits::Concept::~Concept ( )
virtualdefault

Member Function Documentation

◆ emitNYI()

virtual InFlightDiagnostic mlir::acc::detail::OpenACCSupportTraits::Concept::emitNYI ( Location loc,
const Twine & message )
pure virtual

◆ getRecipeName()

virtual std::string mlir::acc::detail::OpenACCSupportTraits::Concept::getRecipeName ( RecipeKind kind,
Type type,
Value var )
pure virtual

Get the recipe name for a given kind, type and value.

Implemented in mlir::acc::detail::OpenACCSupportTraits::Model< ImplT >.

◆ getVariableName()

virtual std::string mlir::acc::detail::OpenACCSupportTraits::Concept::getVariableName ( Value v)
pure virtual

Get the variable name for a given MLIR value.

Implemented in mlir::acc::detail::OpenACCSupportTraits::Model< ImplT >.

◆ isValidSymbolUse()

virtual bool mlir::acc::detail::OpenACCSupportTraits::Concept::isValidSymbolUse ( Operation * user,
SymbolRefAttr symbol,
Operation ** definingOpPtr )
pure virtual

Check if a symbol use is valid for use in an OpenACC region.

Implemented in mlir::acc::detail::OpenACCSupportTraits::Model< ImplT >.


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