MLIR  19.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 415 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 416 of file AsmState.h.

Member Data Documentation

◆ key

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

The key identifying the resource.

Definition at line 421 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 424 of file AsmState.h.


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