My Project
Public Member Functions | Public Attributes | List of all members
mlir::detail::DenseElementsAttributeStorage::KeyTy Struct Reference

#include <AttributeDetail.h>

Collaboration diagram for mlir::detail::DenseElementsAttributeStorage::KeyTy:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

ShapedType type
 The type of the dense elements. More...
 
ArrayRef< char > 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...
 

Constructor & Destructor Documentation

◆ KeyTy()

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

Member Data Documentation

◆ data

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

The raw buffer for the data storage.

◆ hashCode

llvm::hash_code mlir::detail::DenseElementsAttributeStorage::KeyTy::hashCode

The computed hash code for the storage data.

◆ isSplat

bool mlir::detail::DenseElementsAttributeStorage::KeyTy::isSplat

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

◆ type

ShapedType mlir::detail::DenseElementsAttributeStorage::KeyTy::type

The type of the dense elements.


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