My Project
Public Types | Public Member Functions | Public Attributes | List of all members
mlir::MLIRContextImpl Class Reference
Collaboration diagram for mlir::MLIRContextImpl:
Collaboration graph
[legend]

Public Types

using AffineMapSet = DenseSet< AffineMap, AffineMapKeyInfo >
 
using IntegerSets = DenseSet< IntegerSet, IntegerSetKeyInfo >
 

Public Member Functions

 MLIRContextImpl ()
 

Public Attributes

llvm::BumpPtrAllocator identifierAllocator
 
llvm::sys::SmartRWMutex< true > identifierMutex
 
DiagnosticEngine diagEngine
 
llvm::sys::SmartRWMutex< true > contextMutex
 
std::vector< std::unique_ptr< Dialect > > dialects
 
llvm::StringMap< AbstractOperationregisteredOperations
 
DenseMap< const ClassID *, Dialect * > registeredDialectSymbols
 
llvm::StringMap< char, llvm::BumpPtrAllocator & > identifiers
 These are identifiers uniqued into this MLIRContext. More...
 
llvm::BumpPtrAllocator affineAllocator
 
llvm::sys::SmartRWMutex< true > affineMutex
 
AffineMapSet affineMaps
 
IntegerSets integerSets
 
StorageUniquer affineUniquer
 
StorageUniquer typeUniquer
 
FloatType bf16Ty
 Cached Type Instances. More...
 
FloatType f16Ty
 
FloatType f32Ty
 
FloatType f64Ty
 
IndexType indexTy
 
IntegerType int1Ty
 
IntegerType int8Ty
 
IntegerType int16Ty
 
IntegerType int32Ty
 
IntegerType int64Ty
 
IntegerType int128Ty
 
NoneType noneType
 
StorageUniquer attributeUniquer
 
BoolAttr falseAttr
 Cached Attribute Instances. More...
 
BoolAttr trueAttr
 
UnitAttr unitAttr
 
UnknownLoc unknownLocAttr
 

Detailed Description

This is the implementation of the MLIRContext class, using the pImpl idiom. This class is completely private to this file, so everything is public.

Member Typedef Documentation

◆ AffineMapSet

◆ IntegerSets

Constructor & Destructor Documentation

◆ MLIRContextImpl()

mlir::MLIRContextImpl::MLIRContextImpl ( )
inline

Member Data Documentation

◆ affineAllocator

llvm::BumpPtrAllocator mlir::MLIRContextImpl::affineAllocator

◆ affineMaps

AffineMapSet mlir::MLIRContextImpl::affineMaps

◆ affineMutex

llvm::sys::SmartRWMutex<true> mlir::MLIRContextImpl::affineMutex

◆ affineUniquer

StorageUniquer mlir::MLIRContextImpl::affineUniquer

◆ attributeUniquer

StorageUniquer mlir::MLIRContextImpl::attributeUniquer

◆ bf16Ty

FloatType mlir::MLIRContextImpl::bf16Ty

Cached Type Instances.

◆ contextMutex

llvm::sys::SmartRWMutex<true> mlir::MLIRContextImpl::contextMutex

A general purpose mutex to lock access to parts of the context that do not have a more specific mutex, e.g. registry operations.

◆ diagEngine

DiagnosticEngine mlir::MLIRContextImpl::diagEngine

◆ dialects

std::vector<std::unique_ptr<Dialect> > mlir::MLIRContextImpl::dialects

This is a list of dialects that are created referring to this context. The MLIRContext owns the objects.

◆ f16Ty

FloatType mlir::MLIRContextImpl::f16Ty

◆ f32Ty

FloatType mlir::MLIRContextImpl::f32Ty

◆ f64Ty

FloatType mlir::MLIRContextImpl::f64Ty

◆ falseAttr

BoolAttr mlir::MLIRContextImpl::falseAttr

Cached Attribute Instances.

◆ identifierAllocator

llvm::BumpPtrAllocator mlir::MLIRContextImpl::identifierAllocator

◆ identifierMutex

llvm::sys::SmartRWMutex<true> mlir::MLIRContextImpl::identifierMutex

◆ identifiers

llvm::StringMap<char, llvm::BumpPtrAllocator &> mlir::MLIRContextImpl::identifiers

These are identifiers uniqued into this MLIRContext.

◆ indexTy

IndexType mlir::MLIRContextImpl::indexTy

◆ int128Ty

IntegerType mlir::MLIRContextImpl::int128Ty

◆ int16Ty

IntegerType mlir::MLIRContextImpl::int16Ty

◆ int1Ty

IntegerType mlir::MLIRContextImpl::int1Ty

◆ int32Ty

IntegerType mlir::MLIRContextImpl::int32Ty

◆ int64Ty

IntegerType mlir::MLIRContextImpl::int64Ty

◆ int8Ty

IntegerType mlir::MLIRContextImpl::int8Ty

◆ integerSets

IntegerSets mlir::MLIRContextImpl::integerSets

◆ noneType

NoneType mlir::MLIRContextImpl::noneType

◆ registeredDialectSymbols

DenseMap<const ClassID *, Dialect *> mlir::MLIRContextImpl::registeredDialectSymbols

This is a mapping from class identifier to Dialect for registered attributes and types.

◆ registeredOperations

llvm::StringMap<AbstractOperation> mlir::MLIRContextImpl::registeredOperations

This is a mapping from operation name to AbstractOperation for registered operations.

◆ trueAttr

BoolAttr mlir::MLIRContextImpl::trueAttr

◆ typeUniquer

StorageUniquer mlir::MLIRContextImpl::typeUniquer

◆ unitAttr

UnitAttr mlir::MLIRContextImpl::unitAttr

◆ unknownLocAttr

UnknownLoc mlir::MLIRContextImpl::unknownLocAttr

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