|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/Hashing.h 402 hash_code hash_combine_range_impl(InputIteratorT first, InputIteratorT last) {
402 hash_code hash_combine_range_impl(InputIteratorT first, InputIteratorT last) {
478 hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
478 hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
include/llvm/ADT/SmallVector.h 277 static void uninitialized_copy(It1 I, It1 E, It2 Dest) {
277 static void uninitialized_copy(It1 I, It1 E, It2 Dest) {
387 void append(in_iter in_start, in_iter in_end) {
387 void append(in_iter in_start, in_iter in_end) {
855 SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) {
855 SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) {
860 explicit SmallVector(const iterator_range<RangeTy> &R)
include/llvm/ADT/iterator.h 86 DerivedT I;
88 ReferenceProxy(DerivedT I) : I(std::move(I)) {}
95 DerivedT operator+(DifferenceTypeT n) const {
96 static_assert(std::is_base_of<iterator_facade_base, DerivedT>::value,
101 DerivedT tmp = *static_cast<const DerivedT *>(this);
105 friend DerivedT operator+(DifferenceTypeT n, const DerivedT &i) {
105 friend DerivedT operator+(DifferenceTypeT n, const DerivedT &i) {
111 DerivedT operator-(DifferenceTypeT n) const {
115 DerivedT tmp = *static_cast<const DerivedT *>(this);
120 DerivedT &operator++() {
125 DerivedT operator++(int) {
126 DerivedT tmp = *static_cast<DerivedT *>(this);
130 DerivedT &operator--() {
136 DerivedT operator--(int) {
145 bool operator!=(const DerivedT &RHS) const {
149 bool operator>(const DerivedT &RHS) const {
156 bool operator<=(const DerivedT &RHS) const {
162 bool operator>=(const DerivedT &RHS) const {
206 : public iterator_facade_base<DerivedT, IteratorCategoryT, T,
211 WrappedIteratorT I;
215 explicit iterator_adaptor_base(WrappedIteratorT u) : I(std::move(u)) {
216 static_assert(std::is_base_of<iterator_adaptor_base, DerivedT>::value,
220 const WrappedIteratorT &wrapped() const { return I; }
225 DerivedT &operator+=(difference_type n) {
232 DerivedT &operator-=(difference_type n) {
240 difference_type operator-(const DerivedT &RHS) const {
250 DerivedT &operator++() {
255 DerivedT &operator--() {
263 bool operator==(const DerivedT &RHS) const { return I == RHS.I; }
264 bool operator<(const DerivedT &RHS) const {
include/llvm/ADT/iterator_range.h 32 IteratorT begin_iterator, end_iterator;
41 iterator_range(IteratorT begin_iterator, IteratorT end_iterator)
41 iterator_range(IteratorT begin_iterator, IteratorT end_iterator)
45 IteratorT begin() const { return begin_iterator; }
46 IteratorT end() const { return end_iterator; }
54 template <class T> iterator_range<T> make_range(T x, T y) {
54 template <class T> iterator_range<T> make_range(T x, T y) {
54 template <class T> iterator_range<T> make_range(T x, T y) {
include/llvm/IR/Instructions.h 3009 : iterator_adaptor_base<succ_op_iterator, value_op_iterator,
3012 explicit succ_op_iterator(value_op_iterator I) : iterator_adaptor_base(I) {}
3560 : iterator_adaptor_base<succ_op_iterator, value_op_iterator,
3563 explicit succ_op_iterator(value_op_iterator I) : iterator_adaptor_base(I) {}
include/llvm/IR/User.h 246 : iterator_adaptor_base<value_op_iterator, op_iterator,
255 value_op_iterator value_op_begin() {
258 value_op_iterator value_op_end() {
261 iterator_range<value_op_iterator> operand_values() {
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp 54 SmallVector<std::pair<Instruction *, User::value_op_iterator>, 16> DFSStack;
95 User::value_op_iterator OpIt;
346 SmallVector<std::pair<Instruction *, User::value_op_iterator>, 16> DFSStack;
358 User::value_op_iterator OpIt;
unittests/IR/UserTest.cpp 102 User::value_op_iterator I = P.value_op_begin();
usr/include/c++/7.4.0/bits/algorithmfwd.h 226 copy(_IIter, _IIter, _OIter);
226 copy(_IIter, _IIter, _OIter);
usr/include/c++/7.4.0/bits/cpp_type_traits.h 407 inline _Iterator
408 __miter_base(_Iterator __it)
usr/include/c++/7.4.0/bits/move.h 72 constexpr _Tp&&
73 forward(typename std::remove_reference<_Tp>::type& __t) noexcept
83 constexpr _Tp&&
84 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
98 move(_Tp&& __t) noexcept
usr/include/c++/7.4.0/bits/stl_algobase.h 276 inline _Iterator
277 __niter_base(_Iterator __it)
319 __copy_m(_II __first, _II __last, _OI __result)
319 __copy_m(_II __first, _II __last, _OI __result)
321 typedef typename iterator_traits<_II>::difference_type _Distance;
375 __copy_move_a(_II __first, _II __last, _OI __result)
375 __copy_move_a(_II __first, _II __last, _OI __result)
377 typedef typename iterator_traits<_II>::value_type _ValueTypeI;
379 typedef typename iterator_traits<_II>::iterator_category _Category;
381 && __is_pointer<_II>::__value
420 __copy_move_a2(_II __first, _II __last, _OI __result)
420 __copy_move_a2(_II __first, _II __last, _OI __result)
446 copy(_II __first, _II __last, _OI __result)
446 copy(_II __first, _II __last, _OI __result)
454 return (std::__copy_move_a2<__is_move_iterator<_II>::__value>
usr/include/c++/7.4.0/bits/stl_iterator_base_funcs.h 79 typename iterator_traits<_InputIterator>::difference_type
80 __distance(_InputIterator __first, _InputIterator __last,
80 __distance(_InputIterator __first, _InputIterator __last,
97 typename iterator_traits<_RandomAccessIterator>::difference_type
98 __distance(_RandomAccessIterator __first, _RandomAccessIterator __last,
98 __distance(_RandomAccessIterator __first, _RandomAccessIterator __last,
137 typename iterator_traits<_InputIterator>::difference_type
138 distance(_InputIterator __first, _InputIterator __last)
138 distance(_InputIterator __first, _InputIterator __last)
147 __advance(_InputIterator& __i, _Distance __n, input_iterator_tag)
158 __advance(_BidirectionalIterator& __i, _Distance __n,
174 __advance(_RandomAccessIterator& __i, _Distance __n,
197 advance(_InputIterator& __i, _Distance __n)
200 typename iterator_traits<_InputIterator>::difference_type __d = __n;
207 inline _GLIBCXX17_CONSTEXPR _ForwardIterator
208 next(_ForwardIterator __x, typename
209 iterator_traits<_ForwardIterator>::difference_type __n = 1)
usr/include/c++/7.4.0/bits/stl_iterator_base_types.h 154 typedef typename _Iterator::iterator_category iterator_category;
155 typedef typename _Iterator::value_type value_type;
156 typedef typename _Iterator::difference_type difference_type;
157 typedef typename _Iterator::pointer pointer;
158 typedef typename _Iterator::reference reference;
163 : public __iterator_traits<_Iterator> { };
204 typename iterator_traits<_Iter>::iterator_category
205 __iterator_category(const _Iter&)
usr/include/c++/7.4.0/bits/stl_pair.h 101 is_constructible<_T2, const _U2&>>::value;
101 is_constructible<_T2, const _U2&>>::value;
108 is_convertible<const _U2&, _T2>>::value;
108 is_convertible<const _U2&, _T2>>::value;
115 is_constructible<_T2, _U2&&>>::value;
115 is_constructible<_T2, _U2&&>>::value;
122 is_convertible<_U2&&, _T2>>::value;
122 is_convertible<_U2&&, _T2>>::value;
129 is_convertible<_U2&&, _T2>>;
129 is_convertible<_U2&&, _T2>>;
134 is_constructible<_T2, _U2&&>,
134 is_constructible<_T2, _U2&&>,
143 is_convertible<const _U2&, _T2>>;
143 is_convertible<const _U2&, _T2>>;
148 is_constructible<_T2, const _U2&&>,
148 is_constructible<_T2, const _U2&&>,
209 : private __pair_base<_T1, _T2>
212 typedef _T2 second_type; /// @c second_type is the second bound type
215 _T2 second; /// @c second is a copy of the second object
252 using _PCCP = _PCC<true, _T1, _T2>;
260 constexpr pair(const _T1& __a, const _T2& __b)
269 explicit constexpr pair(const _T1& __a, const _T2& __b)
283 _T1, _T2>;
311 constexpr pair(_U1&& __x, const _T2& __y)
318 explicit constexpr pair(_U1&& __x, const _T2& __y)
325 constexpr pair(const _T1& __x, _U2&& __y)
341 constexpr pair(_U1&& __x, _U2&& __y)
342 : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { }
380 is_copy_assignable<_T2>>::value,
391 is_move_assignable<_T2>>::value,
403 is_assignable<_T2&, const _U2&>>::value,
403 is_assignable<_T2&, const _U2&>>::value,
405 operator=(const pair<_U1, _U2>& __p)
414 is_assignable<_T2&, _U2&&>>::value,
414 is_assignable<_T2&, _U2&&>>::value,
416 operator=(pair<_U1, _U2>&& __p)
usr/include/c++/7.4.0/bits/stl_uninitialized.h 99 __uninit_copy(_InputIterator __first, _InputIterator __last,
99 __uninit_copy(_InputIterator __first, _InputIterator __last,
115 uninitialized_copy(_InputIterator __first, _InputIterator __last,
115 uninitialized_copy(_InputIterator __first, _InputIterator __last,
118 typedef typename iterator_traits<_InputIterator>::value_type
126 typedef typename iterator_traits<_InputIterator>::reference _RefType1;
usr/include/c++/7.4.0/tuple 125 constexpr _Head_base(const _Head& __h)
132 constexpr _Head_base(_UHead&& __h)
159 static constexpr _Head&
162 static constexpr const _Head&
210 constexpr _Tuple_impl(const _Head& __head, const _Tail&... __tail)
216 constexpr _Tuple_impl(_UHead&& __head, _UTail&&... __tail)
242 _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a)
248 const _Head& __head, const _Tail&... __tail)
350 static constexpr _Head&
353 static constexpr const _Head&
360 constexpr _Tuple_impl(const _Head& __head)
365 constexpr _Tuple_impl(_UHead&& __head)
390 const _Head& __head)
473 return __and_<is_constructible<_Elements, const _UElements&>...>::value;
479 return __and_<is_convertible<const _UElements&, _Elements>...>::value;
485 return __and_<is_constructible<_Elements, _UElements&&>...>::value;
491 return __and_<is_convertible<_UElements&&, _Elements>...>::value;
947 constexpr tuple(const _T1& __a1, const _T2& __a2)
956 explicit constexpr tuple(const _T1& __a1, const _T2& __a2)
971 constexpr tuple(_U1&& __a1, _U2&& __a2)
1066 tuple(allocator_arg_t __tag, const _Alloc& __a)
1078 const _T1& __a1, const _T2& __a2)
1090 const _T1& __a1, const _T2& __a2)
1241 operator=(const pair<_U1, _U2>& __in)
1250 operator=(pair<_U1, _U2>&& __in)
1253 this->_M_tail(*this)._M_head(*this) = std::forward<_U2>(__in.second);
1588 constexpr tuple<_Elements&...>
1589 tie(_Elements&... __args) noexcept
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
567 : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
631 : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
762 typename add_rvalue_reference<_Tp>::type declval() noexcept;
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
798 typedef decltype(__test<_Tp>(0)) type;
811 remove_all_extents<_Tp>::type>::type
825 : public __is_destructible_safe<_Tp>::type
889 typedef decltype(__test<_Tp>(0)) type;
894 : public __and_<__not_<is_void<_Tp>>,
895 __is_default_constructible_impl<_Tp>>
915 : public __is_default_constructible_atom<_Tp>::type
921 : public __is_default_constructible_safe<_Tp>::type
984 typedef decltype(__test<_Tp, _Arg>(0)) type;
989 : public __and_<is_destructible<_Tp>,
990 __is_direct_constructible_impl<_Tp, _Arg>>
1072 __is_direct_constructible_ref_cast<_Tp, _Arg>,
1073 __is_direct_constructible_new_safe<_Tp, _Arg>
1079 : public __is_direct_constructible_new<_Tp, _Arg>::type
1119 : public __is_direct_constructible<_Tp, _Arg>
1130 : public __is_constructible_impl<_Tp, _Args...>::type
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1286 : public is_assignable<_Tp&, const _Tp&>
1286 : public is_assignable<_Tp&, const _Tp&>
1292 : public __is_copy_assignable_impl<_Tp>
1304 : public is_assignable<_Tp&, _Tp&&>
1304 : public is_assignable<_Tp&, _Tp&&>
1310 : public __is_move_assignable_impl<_Tp>
1377 static void __helper(const _Tp&);
1390 typedef decltype(__test(declval<_Tp>())) type;
1395 : public __is_implicitly_default_constructible_impl<_Tp>::type
1400 : public __and_<is_default_constructible<_Tp>,
1401 __is_implicitly_default_constructible_safe<_Tp>>
1526 static void __test_aux(_To1);
1538 typedef decltype(__test<_From, _To>(0)) type;
1545 : public __is_convertible_helper<_From, _To>::type
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1629 { typedef _Tp type; };
1633 { typedef _Tp type; };
1659 { typedef _Tp&& type; };
1664 : public __add_rvalue_reference_helper<_Tp>
1955 { typedef _Tp type; };
utils/unittest/googletest/include/gtest/gtest-printers.h 140 static void PrintValue(const T& value, ::std::ostream* os) {
205 ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
206 TypeWithoutFormatter<T,
207 (internal::IsAProtocolMessage<T>::value ? kProtobuf :
208 internal::ImplicitlyConvertible<const T&, internal::BiggestInt>::value ?
223 void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
276 static ::std::string Format(const ToPrint& value) {
351 const T1& value, const T2& /* other_operand */) {
351 const T1& value, const T2& /* other_operand */) {
352 return FormatForComparison<T1, T2>::Format(value);
352 return FormatForComparison<T1, T2>::Format(value);
366 void UniversalPrint(const T& value, ::std::ostream* os);
373 const C& container, ::std::ostream* os) {
439 const T& value, ::std::ostream* os) {
455 void PrintTo(const T& value, ::std::ostream* os) {
478 DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os);
699 static void Print(const T& value, ::std::ostream* os) {
784 static void Print(const T& value, ::std::ostream* os) {
856 typedef T T1;
983 internal::UniversalTersePrinter<T>::Print(value, &ss);
utils/unittest/googletest/include/gtest/gtest.h 1377 const T1& lhs, const T2& rhs) {
1377 const T1& lhs, const T2& rhs) {
1389 const T1& lhs,
1390 const T2& rhs) {
1419 const T1& lhs,
1420 const T2& rhs) {
utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h 29 static const T& printable(const T& V) { return V; }
29 static const T& printable(const T& V) { return V; }
35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
37 return StreamSwitch<T>::printable(V);
utils/unittest/googletest/include/gtest/internal/gtest-internal.h 94 ::std::string PrintToString(const T& value);