Home
last modified time | relevance | path

Searched refs:Iterator (Results 1 – 25 of 77) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_buffer_queue.h86 Iterator &operator++() {
94 Iterator operator++(int) {
95 Iterator C = *this;
115 Iterator() = default;
116 Iterator(const Iterator &) = default;
117 Iterator(Iterator &&) = default;
118 Iterator &operator=(const Iterator &) = default;
119 Iterator &operator=(Iterator &&) = default;
120 ~Iterator() = default;
123 friend bool operator==(const Iterator &L, const Iterator<V> &R) {
[all …]
H A Dxray_segmented_array.h81 template <class U> class Iterator {
91 Iterator(const Iterator &) NOEXCEPT XRAY_NEVER_INSTRUMENT = default;
93 Iterator(Iterator &&) NOEXCEPT XRAY_NEVER_INSTRUMENT = default;
94 Iterator &operator=(const Iterator &) XRAY_NEVER_INSTRUMENT = default;
95 Iterator &operator=(Iterator &&) XRAY_NEVER_INSTRUMENT = default;
96 ~Iterator() XRAY_NEVER_INSTRUMENT = default;
127 Iterator Copy(*this);
133 Iterator Copy(*this);
628 return Iterator<T>(Head, 0, Size); in begin()
631 return Iterator<T>(Tail, Size, Size); in end()
[all …]
H A Dxray_log_interface.cpp53 void __xray_log_set_buffer_iterator(XRayBuffer (*Iterator)(XRayBuffer)) in __xray_log_set_buffer_iterator()
56 reinterpret_cast<uintptr_t>(Iterator), memory_order_release); in __xray_log_set_buffer_iterator()
200 auto Iterator = reinterpret_cast<XRayBuffer (*)(XRayBuffer)>( in __xray_log_process_buffers() local
202 auto Buffer = (*Iterator)(XRayBuffer{nullptr, 0}); in __xray_log_process_buffers()
206 Buffer = (*Iterator)(Buffer); in __xray_log_process_buffers()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DAllocationOrder.h44 class Iterator final {
49 Iterator(const AllocationOrder &AO, int Pos) : AO(AO), Pos(Pos) {} in Iterator() function
64 Iterator &operator++() {
72 bool operator==(const Iterator &Other) const {
77 bool operator!=(const Iterator &Other) const { return !(*this == Other); }
95 Iterator begin() const { in begin()
96 return Iterator(*this, -(static_cast<int>(Hints.size()))); in begin()
99 Iterator end() const { return Iterator(*this, IterationLimit); } in end()
101 Iterator getOrderLimitEnd(unsigned OrderLimit) const { in getOrderLimitEnd()
105 Iterator Ret(*this, in getOrderLimitEnd()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstrBundleIterator.h53 template <class Iterator> static Iterator getBundleBegin(Iterator I) {
61 template <class Iterator> static Iterator getBundleFinal(Iterator I) {
69 template <class Iterator> static void increment(Iterator &I) {
74 template <class Iterator> static void decrement(Iterator &I) {
81 template <class Iterator> static Iterator getBundleBegin(Iterator I) {
88 template <class Iterator> static Iterator getBundleFinal(Iterator I) {
95 template <class Iterator> static void increment(Iterator &I) {
100 template <class Iterator> static void decrement(Iterator &I) {
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseSet.h111 class Iterator {
123 Iterator() = default;
131 Iterator& operator++() { ++I; return *this; }
133 friend bool operator==(const Iterator &X, const Iterator &Y) {
136 friend bool operator!=(const Iterator &X, const Iterator &Y) {
144 friend class Iterator; variable
154 ConstIterator(const Iterator &B) : I(B.I) {} in ConstIterator()
170 using iterator = Iterator;
174 iterator end() { return Iterator(TheMap.end()); } in end()
196 return Iterator(TheMap.find_as(Val)); in find_as()
[all …]
H A DPriorityQueue.h35 template<class Iterator>
36 PriorityQueue(Iterator begin, Iterator end,
H A DMapVector.h193 typename VectorType::iterator erase(typename VectorType::iterator Iterator) { in erase() argument
194 Map.erase(Iterator->first); in erase()
195 auto Next = Vector.erase(Iterator); in erase()
213 auto Iterator = find(Key); in erase() local
214 if (Iterator == end()) in erase()
216 erase(Iterator); in erase()
/freebsd-14.2/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-param-util.h221 return new Iterator(this, begin_, 0, step_); in Begin()
233 ~Iterator() override = default;
243 return new Iterator(*this); in Clone()
258 Iterator(const Iterator& other) in Iterator() function
266 void operator=(const Iterator& other);
319 ~Iterator() override = default;
329 return new Iterator(*this); in Clone()
353 Iterator(const Iterator& other) in Iterator() function
972 ~Iterator() override = default;
982 return new Iterator(*this); in Clone()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleContextTracker.h148 class Iterator : public llvm::iterator_facade_base<
149 Iterator, std::forward_iterator_tag, ContextTrieNode *,
154 explicit Iterator() = default;
155 explicit Iterator(ContextTrieNode *Node) { NodeQueue.push(Node); } in Iterator() function
156 Iterator &operator++() {
165 bool operator==(const Iterator &Other) const {
179 Iterator begin() { return Iterator(&RootContext); } in begin()
180 Iterator end() { return Iterator(); } in end()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Diterator28 template<class Iterator>
217 template <class Iterator>
226 Iterator current;
244 constexpr Iterator base() const;
300 template <class Iterator>
301 constexpr reverse_iterator<Iterator>
305 template <class Iterator>
306 constexpr reverse_iterator<Iterator> make_reverse_iterator(Iterator i); // C++14, constexpr in C++17
386 template <class Iterator>
470 template <class Iterator>
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_list.h29 friend class Iterator; member
149 typedef IteratorBase<Item> Iterator; typedef
152 Iterator begin() { return Iterator(first_); } in begin()
153 Iterator end() { return Iterator(0); } in end()
H A Dsanitizer_bitvector.h87 class Iterator {
89 Iterator() { } in Iterator() function
90 explicit Iterator(const BasicBitVector &bv) : bv_(bv) {} in Iterator() function
273 class Iterator {
275 Iterator() { } in Iterator() function
276 explicit Iterator(const TwoLevelBitVector &bv) : bv_(bv), i0_(0), i1_(0) { in Iterator() function
294 it1_ = typename BV::Iterator(bv_.l1_[i0_]); in next()
303 it2_ = typename BV::Iterator(bv_.l2_[i0_][i1_]); in next()
320 typename BV::Iterator it1_, it2_;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugCrossExSubsection.h27 using Iterator = ReferenceArray::Iterator; variable
40 Iterator begin() const { return References.begin(); } in begin()
41 Iterator end() const { return References.end(); } in end()
H A DDebugCrossImpSubsection.h50 using Iterator = ReferenceArray::Iterator;
63 Iterator begin() const { return References.begin(); }
64 Iterator end() const { return References.end(); }
H A DDebugChecksumsSubsection.h53 using Iterator = FileChecksumArray::Iterator;
68 Iterator begin() const { return Checksums.begin(); }
69 Iterator end() const { return Checksums.end(); }
H A DDebugInlineeLinesSubsection.h62 using Iterator = LinesArray::Iterator;
79 Iterator begin() const { return Lines.begin(); }
80 Iterator end() const { return Lines.end(); }
H A DDebugLinesSubsection.h83 using Iterator = LineInfoArray::Iterator; variable
94 Iterator begin() const { return LinesAndColumns.begin(); } in begin()
95 Iterator end() const { return LinesAndColumns.end(); } in end()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamArray.h96 typedef VarStreamArrayIterator<ValueType, Extractor> Iterator; typedef
108 Iterator begin(bool *HadError = nullptr) const {
109 return Iterator(*this, E, Skew, nullptr);
117 Iterator end() const { return Iterator(E); } in end()
134 Iterator at(uint32_t Offset) const { in at()
135 return Iterator(*this, E, Offset, nullptr); in at()
263 typedef FixedStreamArrayIterator<T> Iterator; typedef
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DItaniumCXXABI.cpp64 struct Iterator struct
65 : llvm::iterator_adaptor_base<Iterator, BindingArray::const_iterator,
68 Iterator(BindingArray::const_iterator It) : iterator_adaptor_base(It) {} in Iterator() argument
73 Iterator begin() const { return Iterator(Bindings.begin()); } in begin()
74 Iterator end() const { return Iterator(Bindings.end()); } in end()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DAttrIterator.h34 using Iterator = typename Container::const_iterator; variable
43 mutable Iterator Current;
50 void AdvanceToNext(Iterator I) const { in AdvanceToNext()
63 explicit specific_attr_iterator(Iterator i) : Current(i) {} in specific_attr_iterator()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DRawMemProfReader.h42 using Iterator = InstrProfIterator<GuidMemProfRecordPair, MemProfReader>; variable
43 Iterator end() { return Iterator(); } in end()
44 Iterator begin() { in begin()
46 return Iterator(this); in begin()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dlist.h48 typedef IteratorBase<T> Iterator; typedef
51 Iterator begin() { return Iterator(First); } in begin()
52 Iterator end() { return Iterator(nullptr); } in end()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp113 SVal Iterator, SVal Amount) const;
114 void handlePtrIncrOrDecr(CheckerContext &C, const Expr *Iterator,
390 SVal Iterator = IsIterFirst ? FirstArg : SecondArg; in handleOverloadedOperator() local
394 Iterator, Amount); in handleOverloadedOperator()
593 const auto *Pos = getIteratorPosition(State, Iterator); in handleRandomIncrOrDecr()
605 (Op == OO_PlusEqual || Op == OO_MinusEqual) ? Iterator : RetVal; in handleRandomIncrOrDecr()
610 auto AdvancedState = advancePosition(State, Iterator, Op, *Value); in handleRandomIncrOrDecr()
624 const Expr *Iterator, in handlePtrIncrOrDecr() argument
630 QualType PtrType = Iterator->getType(); in handlePtrIncrOrDecr()
636 SVal OldVal = State->getSVal(Iterator, C.getLocationContext()); in handlePtrIncrOrDecr()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DObjectFile.h411 : Predicate(std::move(Pred)), Iterator(Begin), End(End) { in SectionFilterIterator()
414 const SectionRef &operator*() const { return *Iterator; }
416 ++Iterator;
421 return Iterator != Other.Iterator;
426 while (Iterator != End && !Predicate(*Iterator)) { in scanPredicate()
427 ++Iterator; in scanPredicate()
431 section_iterator Iterator; variable

1234