MLIR  20.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::detail::DenseIntOrFPElementsAttrStorage::KeyTy Struct Reference

#include "IR/AttributeDetail.h"

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...
 

Detailed Description

Definition at line 61 of file AttributeDetail.h.

Constructor & Destructor Documentation

◆ KeyTy()

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

Definition at line 62 of file AttributeDetail.h.

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 73 of file AttributeDetail.h.

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

◆ isSplat

bool mlir::detail::DenseIntOrFPElementsAttrStorage::KeyTy::isSplat

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

Definition at line 76 of file AttributeDetail.h.

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

◆ type

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

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