MLIR  19.0.0git
Public Member Functions | Public Attributes | List of all members
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. More...
 
ArrayRef< StringRef > data
 The raw buffer for the data storage. More...
 
llvm::hash_code hashCode
 The computed hash code for the storage data. More...
 
bool isSplat
 A boolean that indicates if this data is a splat or not. More...
 

Detailed Description

Definition at line 210 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 211 of file AttributeDetail.h.

Member Data Documentation

◆ data

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

The raw buffer for the data storage.

Definition at line 219 of file AttributeDetail.h.

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

◆ hashCode

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

The computed hash code for the storage data.

Definition at line 222 of file AttributeDetail.h.

Referenced by mlir::detail::DenseStringElementsAttrStorage::hashKey().

◆ isSplat

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

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

Definition at line 225 of file AttributeDetail.h.

Referenced by mlir::detail::DenseStringElementsAttrStorage::construct().

◆ type

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

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