/freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_buffer_queue.h | 80 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 D | xray_segmented_array.h | 80 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 D | xray_log_interface.cpp | 53 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/clang/include/clang/Analysis/FlowSensitive/ |
H A D | CNFFormula.h | 139 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 D | AllocationOrder.h | 44 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/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineInstrBundleIterator.h | 53 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/llvm/include/llvm/ADT/ |
H A D | DenseSet.h | 111 class Iterator { 123 Iterator() = default; 124 Iterator(const typename MapTy::iterator &i) : I(i) {} in Iterator() function 131 Iterator& operator++() { ++I; return *this; } 132 Iterator operator++(int) { auto T = *this; ++I; return T; } 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; [all …]
|
H A D | PriorityQueue.h | 35 template<class Iterator> 36 PriorityQueue(Iterator begin, Iterator end,
|
H A D | MapVector.h | 186 /// Remove the element given by Iterator. in erase() 193 typename VectorType::iterator erase(typename VectorType::iterator Iterator) { in erase() 194 Map.erase(Iterator->first); in erase() 195 auto Next = Vector.erase(Iterator); in erase() 213 auto Iterator = find(Key); in remove_if() 214 if (Iterator == end()) in remove_if() 216 erase(Iterator); in remove_if() 172 erase(typename VectorType::iterator Iterator) erase() argument 192 auto Iterator = find(Key); erase() local
|
/freebsd/contrib/googletest/googletest/include/gtest/internal/ |
H A D | gtest-param-util.h | 222 return new Iterator(this, begin_, 0, step_); in Begin() 225 return new Iterator(this, end_, end_index_, step_); in End() 229 class Iterator : public ParamIteratorInterface<T> { 231 Iterator(const ParamGeneratorInterface<T>* base, T value, int index, in Iterator() function 234 ~Iterator() override = default; 244 return new Iterator(*this); in Clone() 254 CheckedDowncastToActualType<const Iterator>(&other)->index_; in Equals() 259 Iterator(const Iterator& other) in Iterator() function 267 void operator=(const Iterator& other); 306 return new Iterator(this, container_.begin()); in Begin() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | SampleContextTracker.h | 148 class Iterator : public llvm::iterator_facade_base< 149 Iterator, std::forward_iterator_tag, ContextTrieNode *, 154 explicit Iterator() = default; in Iterator() function 155 explicit Iterator(ContextTrieNode *Node) { NodeQueue.push(Node); } 156 Iterator &operator++() { 157 assert(!NodeQueue.empty() && "Iterator already at the end"); 165 bool operator==(const Iterator &Other) const { 179 Iterator begin() { return Iterator(&RootContext); } in end() 180 Iterator en in end() [all...] |
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | iterator | 28 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/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_list.h | 29 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 D | sanitizer_bitvector.h | 87 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 D | DebugCrossExSubsection.h | 27 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 D | DebugCrossImpSubsection.h | 50 using Iterator = ReferenceArray::Iterator; 63 Iterator begin() const { return References.begin(); } 64 Iterator end() const { return References.end(); }
|
H A D | DebugChecksumsSubsection.h | 53 using Iterator = FileChecksumArray::Iterator; 68 Iterator begin() const { return Checksums.begin(); } 69 Iterator end() const { return Checksums.end(); }
|
H A D | DebugInlineeLinesSubsection.h | 62 using Iterator = LinesArray::Iterator; 79 Iterator begin() const { return Lines.begin(); } 80 Iterator end() const { return Lines.end(); }
|
H A D | DebugLinesSubsection.h | 83 using Iterator = LineInfoArray::Iterator; variable 94 Iterator begin() const { return LinesAndColumns.begin(); } in begin() 95 Iterator end() const { return LinesAndColumns.end(); } in end()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | BinaryStreamArray.h | 96 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 D | ItaniumCXXABI.cpp | 64 struct Iterator struct 65 : llvm::iterator_adaptor_base<Iterator, BindingArray::const_iterator, 68 Iterator(BindingArray::const_iterator It) : iterator_adaptor_base(It) {} in Iterator() function 73 Iterator begin() const { return Iterator(Bindings.begin()); } in begin() 74 Iterator end() const { return Iterator(Bindings.end()); } in end()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | AttrIterator.h | 34 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/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | list.h | 48 typedef IteratorBase<T> Iterator; typedef 51 Iterator begin() { return Iterator(First); } in begin() 52 Iterator end() { return Iterator(nullptr); } in end()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | MemProfReader.h | 42 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/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | IteratorModeling.cpp | 113 SVal Iterator, SVal Amount) const; 114 void handlePtrIncrOrDecr(CheckerContext &C, const Expr *Iterator, 391 SVal Iterator = IsIterFirst ? FirstArg : SecondArg; in handleOverloadedOperator() local 395 Iterator, Amount); in handleOverloadedOperator() 588 SVal RetVal, SVal Iterator, in handleRandomIncrOrDecr() argument 594 const auto *Pos = getIteratorPosition(State, Iterator); in handleRandomIncrOrDecr() 606 (Op == OO_PlusEqual || Op == OO_MinusEqual) ? Iterator : RetVal; in handleRandomIncrOrDecr() 611 auto AdvancedState = advancePosition(State, Iterator, Op, *Value); in handleRandomIncrOrDecr() 613 const auto *NewPos = getIteratorPosition(AdvancedState, Iterator); in handleRandomIncrOrDecr() 625 const Expr *Iterator, in handlePtrIncrOrDecr() argument [all …]
|