MLIR  20.0.0git
Classes | Namespaces | Functions
StorageUniquerSupport.h File Reference
#include "mlir/IR/AttrTypeSubElements.h"
#include "mlir/IR/DialectRegistry.h"
#include "mlir/Support/InterfaceSupport.h"
#include "mlir/Support/StorageUniquer.h"
#include "mlir/Support/TypeID.h"
#include "llvm/ADT/FunctionExtras.h"

Go to the source code of this file.

Classes

class  mlir::detail::StorageUserTraitBase< ConcreteType, TraitType >
 Helper class for implementing traits for storage classes. More...
 
struct  mlir::detail::StorageUserTrait::IsMutable< ConcreteType >
 This trait is used to determine if a storage user, like Type, is mutable or not. More...
 
class  mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT, Traits >
 Utility class for implementing users of storage classes uniqued by a StorageUniquer. More...
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::detail
 AttrTypeReplacer.
 
 mlir::detail::StorageUserTrait
 
 mlir::detail::storage_user_base_impl
 

Functions

llvm::unique_function< InFlightDiagnostic()> mlir::detail::getDefaultDiagnosticEmitFn (MLIRContext *ctx)
 Utility method to generate a callback that can be used to generate a diagnostic when checking the construction invariants of a storage object. More...
 
llvm::unique_function< InFlightDiagnostic()> mlir::detail::getDefaultDiagnosticEmitFn (const Location &loc)
 
template<template< typename T > class... Traits>
bool mlir::detail::storage_user_base_impl::hasTrait (TypeID traitID)
 Returns true if this given Trait ID matches the IDs of any of the provided trait types Traits. More...
 
template<>
bool mlir::detail::storage_user_base_impl::hasTrait (TypeID traitID)