MLIR 23.0.0git
mlir::detail::DenseIntOrFPElementsAttrStorage::KeyTy Struct Reference

#include "IR/AttributeDetail.h"

Public Member Functions

 KeyTy (ShapedType type, ArrayRef< char > data, llvm::hash_code hashCode)

Public Attributes

ShapedType type
 The type of the dense elements.
ArrayRef< char > data
 The raw buffer for the data storage.
llvm::hash_code hashCode
 The computed hash code for the storage data.

Detailed Description

Definition at line 56 of file AttributeDetail.h.

Constructor & Destructor Documentation

◆ KeyTy()

mlir::detail::DenseIntOrFPElementsAttrStorage::KeyTy::KeyTy ( ShapedType type,
ArrayRef< char > data,
llvm::hash_code hashCode )
inline

Definition at line 57 of file AttributeDetail.h.

References data, hashCode, and type.

Member Data Documentation

◆ data

ArrayRef<char> mlir::detail::DenseIntOrFPElementsAttrStorage::KeyTy::data

◆ hashCode

llvm::hash_code mlir::detail::DenseIntOrFPElementsAttrStorage::KeyTy::hashCode

The computed hash code for the storage data.

Definition at line 67 of file AttributeDetail.h.

Referenced by mlir::detail::DenseIntOrFPElementsAttrStorage::hashKey(), and KeyTy().

◆ type

ShapedType mlir::detail::DenseIntOrFPElementsAttrStorage::KeyTy::type

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