Loading [MathJax]/extensions/tex2jax.js
CIRCT 21.0.0git
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
circt::rtg::detail::ImmediateAttrStorage Struct Reference
Inheritance diagram for circt::rtg::detail::ImmediateAttrStorage:
Inheritance graph
[legend]
Collaboration diagram for circt::rtg::detail::ImmediateAttrStorage:
Collaboration graph
[legend]

Public Types

using KeyTy = APInt
 

Public Member Functions

 ImmediateAttrStorage (APInt value)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &key) const
 

Static Public Member Functions

static llvm::hash_code hashKey (const KeyTy &key)
 
static ImmediateAttrStorageconstruct (mlir::AttributeStorageAllocator &allocator, KeyTy &&key)
 

Public Attributes

APInt value
 

Detailed Description

Definition at line 25 of file RTGAttributes.cpp.

Member Typedef Documentation

◆ KeyTy

Definition at line 26 of file RTGAttributes.cpp.

Constructor & Destructor Documentation

◆ ImmediateAttrStorage()

circt::rtg::detail::ImmediateAttrStorage::ImmediateAttrStorage ( APInt  value)
inline

Definition at line 27 of file RTGAttributes.cpp.

Member Function Documentation

◆ construct()

static ImmediateAttrStorage * circt::rtg::detail::ImmediateAttrStorage::construct ( mlir::AttributeStorageAllocator &  allocator,
KeyTy &&  key 
)
inlinestatic

Definition at line 45 of file RTGAttributes.cpp.

◆ getAsKey()

KeyTy circt::rtg::detail::ImmediateAttrStorage::getAsKey ( ) const
inline

Definition at line 29 of file RTGAttributes.cpp.

References value.

◆ hashKey()

static llvm::hash_code circt::rtg::detail::ImmediateAttrStorage::hashKey ( const KeyTy key)
inlinestatic

Definition at line 40 of file RTGAttributes.cpp.

◆ operator==()

bool circt::rtg::detail::ImmediateAttrStorage::operator== ( const KeyTy key) const
inline

Definition at line 36 of file RTGAttributes.cpp.

References value.

Member Data Documentation

◆ value

APInt circt::rtg::detail::ImmediateAttrStorage::value

Definition at line 50 of file RTGAttributes.cpp.

Referenced by getAsKey(), operator==(), and Python.support.OpOperand::type().


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