Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_buffer_queue.h80 template <class T> class Iterator {
86 Iterator &operator++() {
94 Iterator operator++(int) {
95 Iterator C = *this;
104 Iterator(BufferRep *Root, size_t O, size_t M) XRAY_NEVER_INSTRUMENT in Iterator() function
115 Iterator() = default;
116 Iterator(const Iterator &) = default;
117 Iterator(Iterator &&) = default;
118 Iterator &operator=(const Iterator &) = default;
119 Iterator &operator=(Iterator &&) = default;
[all …]
H A Dxray_segmented_array.h80 template <class U> class Iterator {
86 Iterator(Segment *IS, uint64_t Off, uint64_t S) XRAY_NEVER_INSTRUMENT in Iterator() function
90 Iterator(const Iterator &) NOEXCEPT XRAY_NEVER_INSTRUMENT = default;
91 Iterator() NOEXCEPT XRAY_NEVER_INSTRUMENT = default;
92 Iterator(Iterator &&) NOEXCEPT XRAY_NEVER_INSTRUMENT = default;
93 Iterator &operator=(const Iterator &) XRAY_NEVER_INSTRUMENT = default;
94 Iterator &operator=(Iterator &&) XRAY_NEVER_INSTRUMENT = default;
95 ~Iterator() XRAY_NEVER_INSTRUMENT = default;
97 Iterator &operator++() XRAY_NEVER_INSTRUMENT {
112 Iterator &operator--() XRAY_NEVER_INSTRUMENT {
[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/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringTable.h99 class Iterator
100 : public iterator_facade_base<Iterator, std::forward_iterator_tag,
110 explicit constexpr Iterator(const StringTable &Table, Offset O) in Iterator() function
114 constexpr Iterator(const Iterator &RHS) = default;
115 constexpr Iterator(Iterator &&RHS) = default;
117 bool operator==(const Iterator &RHS) const {
127 Iterator &operator++() {
133 constexpr Iterator begin() const { return Iterator(*this, 0); } in begin()
134 constexpr Iterator end() const { return Iterator(*this, size() - 1); } in end()
H A DDenseSet.h111 class Iterator {
123 Iterator() = default;
124 Iterator(const typename MapTy::iterator &i) : I(i) {} in Iterator() function
131 Iterator &operator++() {
135 Iterator operator++(int) {
140 friend bool operator==(const Iterator &X, const Iterator &Y) {
143 friend bool operator!=(const Iterator &X, const Iterator &Y) {
151 friend class Iterator; variable
161 ConstIterator(const Iterator &B) : I(B.I) {} in ConstIterator()
184 using iterator = Iterator;
[all …]
H A DPriorityQueue.h35 template<class Iterator>
36 PriorityQueue(Iterator begin, Iterator end,
/freebsd/contrib/llvm-project/libc/src/__support/
H A Dblockstore.h67 class Iterator {
72 LIBC_INLINE constexpr Iterator(Block *b, size_t i) : block(b), index(i) {} in Iterator() function
74 LIBC_INLINE Iterator &operator++() {
103 LIBC_INLINE Iterator operator+(int i) {
113 LIBC_INLINE bool operator==(const Iterator &rhs) const {
117 LIBC_INLINE bool operator!=(const Iterator &rhs) const {
178 LIBC_INLINE Iterator begin() { in begin()
180 return Iterator(current, fill_count); in begin()
182 return Iterator(&first, 0); in begin()
185 LIBC_INLINE Iterator end() { in end()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DCNFFormula.h139 class Iterator {
143 Iterator(CNFFormula *CNF, size_t Idx) : CNF(CNF), Idx(Idx) {} in Iterator() function
146 Iterator(const Iterator &) = default;
147 Iterator &operator=(const Iterator &) = default;
149 Iterator &operator++() {
155 Iterator next() const { in next()
156 Iterator I = *this; in next()
163 friend class Iterator; variable
166 Iterator startOfClause(ClauseID C) { return Iterator(this, ClauseStarts[C]); } in startOfClause()
/freebsd/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()
H A DCFIFixup.cpp188 MachineBasicBlock::iterator Iterator; member
203 BuildMI(*RememberInsertPt.MBB, RememberInsertPt.Iterator, DebugLoc(), in insertRememberRestorePair()
211 std::next(BuildMI(*RestoreInsertPt.MBB, RestoreInsertPt.Iterator, in insertRememberRestorePair()
229 DstInsertPt.MBB->insert(DstInsertPt.Iterator, ToClone.begin(), in cloneCfiPrologue()
237 cloneCfiInstructions(PrologueEnd.MBB->begin(), PrologueEnd.Iterator); in cloneCfiPrologue()
/freebsd/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/contrib/llvm-project/libcxx/include/__cxx03/
H A Diterator28 template<class Iterator>
217 template <class Iterator>
219 : public iterator<typename iterator_traits<Iterator>::iterator_category, // until C++17
220 typename iterator_traits<Iterator>::value_type,
221 typename iterator_traits<Iterator>::difference_type,
222 typename iterator_traits<Iterator>::pointer,
223 typename iterator_traits<Iterator>::reference>
226 Iterator current;
228 using iterator_type = Iterator;
230 …using iterator_category = typename iterator_traits<Iterator>::iterator_category; // since C++17, u…
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Diterator28 template<class Iterator>
217 template <class Iterator>
219 : public iterator<typename iterator_traits<Iterator>::iterator_category, // until C++17
220 typename iterator_traits<Iterator>::value_type,
221 typename iterator_traits<Iterator>::difference_type,
222 typename iterator_traits<Iterator>::pointer,
223 typename iterator_traits<Iterator>::reference>
226 Iterator current;
228 using iterator_type = Iterator;
230 …using iterator_category = typename iterator_traits<Iterator>::iterator_category; // since C++17, u…
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleContextTracker.h154 class Iterator : public llvm::iterator_facade_base<
155 Iterator, std::forward_iterator_tag, ContextTrieNode *,
160 explicit Iterator() = default;
161 explicit Iterator(ContextTrieNode *Node) { NodeQueue.push(Node); } in Iterator() function
162 Iterator &operator++() {
171 bool operator==(const Iterator &Other) const {
185 Iterator begin() { return Iterator(&RootContext); } in begin()
186 Iterator end() { return Iterator(); } in end()
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-param-util.h223 return new Iterator(this, begin_, 0, step_); in Begin()
226 return new Iterator(this, end_, end_index_, step_); in End()
230 class Iterator : public ParamIteratorInterface<T> {
232 Iterator(const ParamGeneratorInterface<T>* base, T value, int index, in Iterator() function
235 ~Iterator() override = default;
245 return new Iterator(*this); in Clone()
255 CheckedDowncastToActualType<const Iterator>(&other)->index_; in Equals()
260 Iterator(const Iterator& other) in Iterator() function
268 void operator=(const Iterator& other);
307 return new Iterator(this, container_.begin()); in Begin()
[all …]
/freebsd/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/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugCrossExSubsection.h28 using Iterator = ReferenceArray::Iterator; variable
41 Iterator begin() const { return References.begin(); } in begin()
42 Iterator end() const { return References.end(); } in end()
H A DDebugCrossImpSubsection.h51 using Iterator = ReferenceArray::Iterator;
64 Iterator begin() const { return References.begin(); }
65 Iterator end() const { return References.end(); }
H A DDebugChecksumsSubsection.h54 using Iterator = FileChecksumArray::Iterator;
69 Iterator begin() const { return Checksums.begin(); }
70 Iterator end() const { return Checksums.end(); }
H A DDebugInlineeLinesSubsection.h63 using Iterator = LinesArray::Iterator;
80 Iterator begin() const { return Lines.begin(); }
81 Iterator end() const { return Lines.end(); }
H A DDebugLinesSubsection.h84 using Iterator = LineInfoArray::Iterator; variable
95 Iterator begin() const { return LinesAndColumns.begin(); } in begin()
96 Iterator end() const { return LinesAndColumns.end(); } in end()
/freebsd/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/contrib/llvm-project/clang/lib/AST/
H A DItaniumCXXABI.cpp63 struct Iterator struct
64 : llvm::iterator_adaptor_base<Iterator, BindingArray::const_iterator,
67 Iterator(BindingArray::const_iterator It) : iterator_adaptor_base(It) {} in Iterator() function
72 Iterator begin() const { return Iterator(Bindings.begin()); } in begin()
73 Iterator end() const { return Iterator(Bindings.end()); } in end()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DAttrIterator.h37 using Iterator = typename Container::const_iterator; variable
46 mutable Iterator Current;
53 void AdvanceToNext(Iterator I) const { in AdvanceToNext()
66 explicit specific_attr_iterator(Iterator i) : Current(i) {} in specific_attr_iterator()

1234