MLIR  15.0.0git
Classes | Namespaces | Functions
StorageUniquerSupport.h File Reference
#include "mlir/Support/InterfaceSupport.h"
#include "mlir/Support/LogicalResult.h"
#include "mlir/Support/StorageUniquer.h"
#include "mlir/Support/TypeID.h"
#include "llvm/ADT/FunctionExtras.h"
+ Include dependency graph for StorageUniquerSupport.h:
+ This graph shows which files directly or indirectly include this file:

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
 TODO: Remove this file when SCCP and integer range analysis have been ported to the new framework.
 
 mlir::detail
 
 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)