Home
last modified time | relevance | path

Searched refs:isSorted (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/flang/include/flang/Common/
H A Dstatic-multimap-view.h49 bool isSorted{true}; in Verify()
51 isSorted &= lastSeen->key <= x->key; in Verify()
54 return isSorted; in Verify()
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuiltinAttributes.cpp87 bool isSorted = value[0] < value[1]; in dictionaryAttrSort() local
89 if (!isSorted) in dictionaryAttrSort()
91 } else if (isSorted) { in dictionaryAttrSort()
96 return !isSorted; in dictionaryAttrSort()
102 bool isSorted = llvm::is_sorted(value); in dictionaryAttrSort() local
104 if (!isSorted) in dictionaryAttrSort()
106 return !isSorted; in dictionaryAttrSort()
134 return isSorted; in sort()
141 return isSorted; in sortInPlace()
146 bool isSorted) { in findDuplicate() argument
[all …]
H A DOperationSupport.cpp45 DictionaryAttr::findDuplicate(attrs, isSorted()); in findDuplicate()
48 if (!isSorted()) in findDuplicate()
54 if (!isSorted()) { in getDictionary()
75 if (isSorted()) in push_back()
123 if (isSorted()) in set()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DOperationSupport.h598 bool isSorted() const { return dictionarySorted.getInt(); } in isSorted() function
606 return attrs.isSorted() in findAttr()
H A DBuiltinAttributes.td493 /// returns llvm::None. If `isSorted` is true, the array is assumed to be
496 findDuplicate(SmallVectorImpl<NamedAttribute> &array, bool isSorted);