MLIR  16.0.0git
Public Member Functions | List of all members
mlir::DenseElementsAttr::AttributeElementIterator Class Reference

A utility iterator that allows walking over the internal Attribute values of a DenseElementsAttr. More...

#include "mlir/IR/BuiltinAttributes.h"

+ Inheritance diagram for mlir::DenseElementsAttr::AttributeElementIterator:
+ Collaboration diagram for mlir::DenseElementsAttr::AttributeElementIterator:

Public Member Functions

Attribute operator* () const
 Accesses the Attribute value at this iterator position. More...
 

Detailed Description

A utility iterator that allows walking over the internal Attribute values of a DenseElementsAttr.

Definition at line 234 of file BuiltinAttributes.h.

Member Function Documentation

◆ operator*()

Attribute DenseElementsAttr::AttributeElementIterator::operator* ( ) const

Accesses the Attribute value at this iterator position.

Definition at line 601 of file BuiltinAttributes.cpp.

References mlir::Attribute::cast(), mlir::FloatType::getFloatSemantics(), mlir::Attribute::getFromOpaquePointer(), and value.


The documentation for this class was generated from the following files: