MLIR 22.0.0git
mlir::detail::DenseStringElementsAttrStorage::KeyTy Struct Reference

#include "IR/AttributeDetail.h"

Public Member Functions

 KeyTy (ShapedType type, ArrayRef< StringRef > data, llvm::hash_code hashCode, bool isSplat=false)

Public Attributes

ShapedType type
 The type of the dense elements.
ArrayRef< StringRef > data
 The raw buffer for the data storage.
llvm::hash_code hashCode
 The computed hash code for the storage data.
bool isSplat
 A boolean that indicates if this data is a splat or not.

Detailed Description

Definition at line 208 of file AttributeDetail.h.

Constructor & Destructor Documentation

◆ KeyTy()

mlir::detail::DenseStringElementsAttrStorage::KeyTy::KeyTy ( ShapedType type,
ArrayRef< StringRef > data,
llvm::hash_code hashCode,
bool isSplat = false )
inline

Definition at line 209 of file AttributeDetail.h.

References data, hashCode, isSplat, and type.

Member Data Documentation

◆ data

ArrayRef<StringRef> mlir::detail::DenseStringElementsAttrStorage::KeyTy::data

◆ hashCode

llvm::hash_code mlir::detail::DenseStringElementsAttrStorage::KeyTy::hashCode

The computed hash code for the storage data.

Definition at line 220 of file AttributeDetail.h.

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

◆ isSplat

bool mlir::detail::DenseStringElementsAttrStorage::KeyTy::isSplat

A boolean that indicates if this data is a splat or not.

Definition at line 223 of file AttributeDetail.h.

Referenced by mlir::detail::DenseStringElementsAttrStorage::construct(), and KeyTy().

◆ type

ShapedType mlir::detail::DenseStringElementsAttrStorage::KeyTy::type

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