MLIR 22.0.0git
mlir::acc::detail::OpenACCSupportTraits Struct Reference

This class contains internal trait classes used by OpenACCSupport. More...

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

Classes

class  Concept
class  Model
 This class wraps a concrete OpenACCSupport implementation and forwards interface calls to it. More...

Public Types

template<typename ImplT, typename... Args>
using isValidSymbolUse_t
 SFINAE helpers to detect if implementation has optional methods.
template<typename ImplT>
using has_isValidSymbolUse

Detailed Description

This class contains internal trait classes used by OpenACCSupport.

It follows the Concept-Model pattern used throughout MLIR (e.g., in AliasAnalysis and interface definitions).

Definition at line 70 of file OpenACCSupport.h.

Member Typedef Documentation

◆ has_isValidSymbolUse

Initial value:
llvm::is_detected<isValidSymbolUse_t, ImplT, Operation *, SymbolRefAttr,
Operation is the basic unit of execution within MLIR.
Definition Operation.h:88
decltype(std::declval< ImplT >().isValidSymbolUse(std::declval< Args >()...)) isValidSymbolUse_t
SFINAE helpers to detect if implementation has optional methods.

Definition at line 96 of file OpenACCSupport.h.

◆ isValidSymbolUse_t

template<typename ImplT, typename... Args>
using mlir::acc::detail::OpenACCSupportTraits::isValidSymbolUse_t
Initial value:
decltype(std::declval<ImplT>().isValidSymbolUse(std::declval<Args>()...))

SFINAE helpers to detect if implementation has optional methods.

Definition at line 92 of file OpenACCSupport.h.


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