MLIR
20.0.0git
|
This class represents an opaque handle to a dialect resource entry. More...
#include "mlir/IR/OpImplementation.h"
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... | |
Dialect * | getDialect () const |
Return the dialect that owns the resource. More... | |
This class represents an opaque handle to a dialect resource entry.
Definition at line 33 of file OpImplementation.h.
|
default |
|
inline |
Definition at line 36 of file OpImplementation.h.
|
inline |
Return the dialect that owns the resource.
Definition at line 49 of file OpImplementation.h.
Referenced by mlir::AsmDialectResourceHandleBase< DerivedT, ResourceT, DialectT >::getDialect(), and mlir::bytecode::detail::IRNumberingState::NumberingDialectWriter::writeResourceHandle().
|
inline |
Return an opaque pointer to the referenced resource.
Definition at line 43 of file OpImplementation.h.
Referenced by llvm::DenseMapInfo< mlir::AsmDialectResourceHandle >::getHashValue(), mlir::AsmDialectResourceHandleBase< DerivedT, ResourceT, DialectT >::getResource(), mlir::hash_value(), and llvm::DenseMapInfo< mlir::AsmDialectResourceHandle >::isEqual().
|
inline |
Return the type ID of the resource.
Definition at line 46 of file OpImplementation.h.
Referenced by mlir::AsmDialectResourceHandleBase< DerivedT, ResourceT, DialectT >::AsmDialectResourceHandleBase(), and mlir::AsmDialectResourceHandleBase< DerivedT, ResourceT, DialectT >::classof().
|
inline |
Definition at line 38 of file OpImplementation.h.