MLIR  20.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::FallbackAsmResourceMap::OpaqueAsmResource Struct Reference

This class represents an opaque resource. More...

#include "mlir/IR/AsmState.h"

Public Member Functions

 OpaqueAsmResource (StringRef key, std::variant< AsmResourceBlob, bool, std::string > value)
 

Public Attributes

std::string key
 The key identifying the resource. More...
 
std::variant< AsmResourceBlob, bool, std::string > value
 An opaque value for the resource, whose variant values align 1-1 with the kinds defined in AsmResourceEntryKind. More...
 

Detailed Description

This class represents an opaque resource.

Definition at line 422 of file AsmState.h.

Constructor & Destructor Documentation

◆ OpaqueAsmResource()

mlir::FallbackAsmResourceMap::OpaqueAsmResource::OpaqueAsmResource ( StringRef  key,
std::variant< AsmResourceBlob, bool, std::string >  value 
)
inline

Definition at line 423 of file AsmState.h.

Member Data Documentation

◆ key

std::string mlir::FallbackAsmResourceMap::OpaqueAsmResource::key

The key identifying the resource.

Definition at line 428 of file AsmState.h.

◆ value

std::variant<AsmResourceBlob, bool, std::string> mlir::FallbackAsmResourceMap::OpaqueAsmResource::value

An opaque value for the resource, whose variant values align 1-1 with the kinds defined in AsmResourceEntryKind.

Definition at line 431 of file AsmState.h.


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