MLIR  20.0.0git
Public Member Functions | List of all members
mlir::OpaqueProperties Class Reference

Simple wrapper around a void* in order to express generically how to pass in op properties through APIs. More...

#include "mlir/IR/OperationSupport.h"

Public Member Functions

 OpaqueProperties (void *prop)
 
 operator bool () const
 
template<typename Dest >
Dest as () const
 

Detailed Description

Simple wrapper around a void* in order to express generically how to pass in op properties through APIs.

Definition at line 71 of file OperationSupport.h.

Constructor & Destructor Documentation

◆ OpaqueProperties()

mlir::OpaqueProperties::OpaqueProperties ( void *  prop)
inline

Definition at line 73 of file OperationSupport.h.

Member Function Documentation

◆ as()

template<typename Dest >
Dest mlir::OpaqueProperties::as ( ) const
inline

◆ operator bool()

mlir::OpaqueProperties::operator bool ( ) const
inline

Definition at line 74 of file OperationSupport.h.


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