Home
last modified time | relevance | path

Searched refs:AttributeElementIterator (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/mlir/include/mlir/IR/
DBuiltinAttributes.h679 class AttributeElementIterator
680 : public llvm::indexed_accessor_iterator<AttributeElementIterator,
691 AttributeElementIterator(DenseElementsAttr attr, size_t index);
878 llvm::iterator_range<AttributeElementIterator> getAttributeValues() const;
881 llvm::iterator_range<AttributeElementIterator> getValues() const {
884 AttributeElementIterator attr_value_begin() const;
885 AttributeElementIterator attr_value_end() const;
891 llvm::mapped_iterator<AttributeElementIterator, T (*)(Attribute)>;
/external/llvm-project/mlir/lib/IR/
DBuiltinAttributes.cpp674 DenseElementsAttr::AttributeElementIterator::AttributeElementIterator( in AttributeElementIterator() function in DenseElementsAttr::AttributeElementIterator
676 : llvm::indexed_accessor_iterator<AttributeElementIterator, const void *, in AttributeElementIterator()
680 Attribute DenseElementsAttr::AttributeElementIterator::operator*() const { in operator *()
983 -> llvm::iterator_range<AttributeElementIterator> { in getAttributeValues()
986 auto DenseElementsAttr::attr_value_begin() const -> AttributeElementIterator { in attr_value_begin()
987 return AttributeElementIterator(*this, 0); in attr_value_begin()
989 auto DenseElementsAttr::attr_value_end() const -> AttributeElementIterator { in attr_value_end()
990 return AttributeElementIterator(*this, getNumElements()); in attr_value_end()