MLIR  16.0.0git
Static Public Member Functions | List of all members
llvm::cast_convert_val< T, ::mlir::Dialect, ::mlir::Dialect > Struct Template Reference

#include "mlir/IR/Dialect.h"

Static Public Member Functions

template<typename To >
static std::enable_if_t< std::is_base_of<::mlir::Dialect, To >::value, To & > doitImpl (::mlir::Dialect &dialect)
 
template<typename To >
static std::enable_if_t< std::is_base_of<::mlir::DialectInterface, To >::value, To & > doitImpl (::mlir::Dialect &dialect)
 
static auto & doit (::mlir::Dialect &dialect)
 

Detailed Description

template<typename T>
struct llvm::cast_convert_val< T, ::mlir::Dialect, ::mlir::Dialect >

Definition at line 325 of file Dialect.h.

Member Function Documentation

◆ doit()

template<typename T >
static auto& llvm::cast_convert_val< T, ::mlir::Dialect, ::mlir::Dialect >::doit ( ::mlir::Dialect dialect)
inlinestatic

Definition at line 338 of file Dialect.h.

◆ doitImpl() [1/2]

template<typename T >
template<typename To >
static std::enable_if_t<std::is_base_of<::mlir::Dialect, To>::value, To &> llvm::cast_convert_val< T, ::mlir::Dialect, ::mlir::Dialect >::doitImpl ( ::mlir::Dialect dialect)
inlinestatic

Definition at line 328 of file Dialect.h.

References value.

◆ doitImpl() [2/2]

template<typename T >
template<typename To >
static std::enable_if_t<std::is_base_of<::mlir::DialectInterface, To>::value, To &> llvm::cast_convert_val< T, ::mlir::Dialect, ::mlir::Dialect >::doitImpl ( ::mlir::Dialect dialect)
inlinestatic

Definition at line 334 of file Dialect.h.

References mlir::Dialect::getRegisteredInterface().


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