MLIR  19.0.0git
Public Member Functions | List of all members
mlir::AsmDialectResourceHandle Class Reference

This class represents an opaque handle to a dialect resource entry. More...

#include "mlir/IR/OpImplementation.h"

+ Inheritance diagram for mlir::AsmDialectResourceHandle:

Public Member Functions

 AsmDialectResourceHandle ()=default
 
 AsmDialectResourceHandle (void *resource, TypeID resourceID, Dialect *dialect)
 
bool operator== (const AsmDialectResourceHandle &other) const
 
void * getResource () const
 Return an opaque pointer to the referenced resource. More...
 
TypeID getTypeID () const
 Return the type ID of the resource. More...
 
DialectgetDialect () const
 Return the dialect that owns the resource. More...
 

Detailed Description

This class represents an opaque handle to a dialect resource entry.

Definition at line 33 of file OpImplementation.h.

Constructor & Destructor Documentation

◆ AsmDialectResourceHandle() [1/2]

mlir::AsmDialectResourceHandle::AsmDialectResourceHandle ( )
default

◆ AsmDialectResourceHandle() [2/2]

mlir::AsmDialectResourceHandle::AsmDialectResourceHandle ( void *  resource,
TypeID  resourceID,
Dialect dialect 
)
inline

Definition at line 36 of file OpImplementation.h.

Member Function Documentation

◆ getDialect()

Dialect* mlir::AsmDialectResourceHandle::getDialect ( ) const
inline

◆ getResource()

void* mlir::AsmDialectResourceHandle::getResource ( ) const
inline

◆ getTypeID()

TypeID mlir::AsmDialectResourceHandle::getTypeID ( ) const
inline

◆ operator==()

bool mlir::AsmDialectResourceHandle::operator== ( const AsmDialectResourceHandle other) const
inline

Definition at line 38 of file OpImplementation.h.


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