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 ( )

◆ AsmDialectResourceHandle() [2/2]

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

Definition at line 36 of file OpImplementation.h.

Member Function Documentation

◆ getDialect()

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

◆ getResource()

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

◆ getTypeID()

TypeID mlir::AsmDialectResourceHandle::getTypeID ( ) const

◆ operator==()

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

Definition at line 38 of file OpImplementation.h.

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