reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/Any.h
   56   Any(const Any &Other)
   84   Any(Any &&Other) : Storage(std::move(Other.Storage)) {}
   86   Any &swap(Any &Other) {
   86   Any &swap(Any &Other) {
   91   Any &operator=(Any Other) {
   91   Any &operator=(Any Other) {
  101   template <class T> friend T any_cast(const Any &Value);
  102   template <class T> friend T any_cast(Any &Value);
  103   template <class T> friend T any_cast(Any &&Value);
  104   template <class T> friend const T *any_cast(const Any *Value);
  105   template <class T> friend T *any_cast(Any *Value);
  106   template <typename T> friend bool any_isa(const Any &Value);
  114 template <typename T> bool any_isa(const Any &Value) {
  119   return Value.Storage->id() == &Any::TypeId<U>::Id;
  122 template <class T> T any_cast(const Any &Value) {
  128 template <class T> T any_cast(Any &Value) {
  134 template <class T> T any_cast(Any &&Value) {
  140 template <class T> const T *any_cast(const Any *Value) {
  149 template <class T> T *any_cast(Any *Value) {
include/llvm/ADT/FunctionExtras.h
   52     static constexpr bool value = sizeof(T) <= (2 * sizeof(void *));
   75                                AdjustedParamT<ParamTs>... Params);
  156   static ReturnT CallImpl(void *CallableAddr, AdjustedParamT<ParamTs>... Params) {
  158         std::forward<ParamTs>(Params)...);
  276   ReturnT operator()(ParamTs... Params) {
include/llvm/IR/PassInstrumentation.h
   78   using BeforePassFunc = bool(StringRef, Any);
   79   using AfterPassFunc = void(StringRef, Any);
   81   using BeforeAnalysisFunc = void(StringRef, Any);
   82   using AfterAnalysisFunc = void(StringRef, Any);
  150       ShouldRun &= C(Pass.name(), llvm::Any(&IR));
  161         C(Pass.name(), llvm::Any(&IR));
  180         C(Analysis.name(), llvm::Any(&IR));
  189         C(Analysis.name(), llvm::Any(&IR));
include/llvm/Passes/StandardInstrumentations.h
   41   bool printBeforePass(StringRef PassID, Any IR);
   42   void printAfterPass(StringRef PassID, Any IR);
   47   void pushModuleDesc(StringRef PassID, Any IR);
include/llvm/Support/type_traits.h
   76     T t;
   83     T t;
  101           ::llvm::detail::copy_construction_triviality_helper<T>> {};
  112           ::llvm::detail::move_construction_triviality_helper<T>> {};
lib/Passes/StandardInstrumentations.cpp
   34 Optional<std::pair<const Module *, std::string>> unwrapModule(Any IR) {
  106 void unwrapAndPrint(Any IR, StringRef Banner, bool ForceModule = false) {
  150 void PrintIRInstrumentation::pushModuleDesc(StringRef PassID, Any IR) {
  167 bool PrintIRInstrumentation::printBeforePass(StringRef PassID, Any IR) {
  186 void PrintIRInstrumentation::printAfterPass(StringRef PassID, Any IR) {
tools/lldb/include/lldb/Core/RichManglingContext.h
   87   llvm::Any m_cxx_method_parser;
   98   template <class ParserT> static ParserT *get(llvm::Any parser) {
unittests/ADT/AnyTest.cpp
   19   llvm::Any A;
   20   llvm::Any B{7};
   21   llvm::Any C{8};
   22   llvm::Any D{"hello"};
   23   llvm::Any E{3.7};
   49   llvm::Any F(B);
   57   llvm::Any G(std::move(C));
   79   llvm::Any A;
   80   llvm::Any B{7};
   81   llvm::Any C{8};
   82   llvm::Any D{"hello"};
   83   llvm::Any E{'x'};
   95   llvm::Any F(B);
   99   llvm::Any G(std::move(C));
  145   Any A{TestType()};
  157   llvm::Any A;
  158   llvm::Any B{7};
  159   llvm::Any C{"hello"};
  160   llvm::Any D{'x'};
unittests/IR/PassBuilderCallbacksTest.cpp
  278 template <> std::string getName(const llvm::Any &WrappedIR) {
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/tuple
   56     struct __is_empty_non_tuple : is_empty<_Tp> { };
  125       constexpr _Head_base(const _Head& __h)
  132         constexpr _Head_base(_UHead&& __h)
  159       static constexpr _Head&
  162       static constexpr const _Head&
  165       _Head _M_head_impl;
  186     : public _Tuple_impl<_Idx + 1, _Tail...>,
  191       typedef _Tuple_impl<_Idx + 1, _Tail...> _Inherited;
  210       constexpr _Tuple_impl(const _Head& __head, const _Tail&... __tail)
  216         constexpr _Tuple_impl(_UHead&& __head, _UTail&&... __tail)
  230         constexpr _Tuple_impl(const _Tuple_impl<_Idx, _UElements...>& __in)
  235         constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead, _UTails...>&& __in)
  242 	_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a)
  248 		    const _Head& __head, const _Tail&... __tail)
  344     : private _Head_base<_Idx, _Head>
  348       typedef _Head_base<_Idx, _Head> _Base;
  350       static constexpr _Head&
  353       static constexpr const _Head&
  360       constexpr _Tuple_impl(const _Head& __head)
  365         constexpr _Tuple_impl(_UHead&& __head)
  376         constexpr _Tuple_impl(const _Tuple_impl<_Idx, _UHead>& __in)
  380         constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead>&& __in)
  390 		    const _Head& __head)
  473       return __and_<is_constructible<_Elements, const _UElements&>...>::value;
  473       return __and_<is_constructible<_Elements, const _UElements&>...>::value;
  479       return __and_<is_convertible<const _UElements&, _Elements>...>::value;
  479       return __and_<is_convertible<const _UElements&, _Elements>...>::value;
  485       return __and_<is_constructible<_Elements, _UElements&&>...>::value;
  485       return __and_<is_constructible<_Elements, _UElements&&>...>::value;
  491       return __and_<is_convertible<_UElements&&, _Elements>...>::value;
  491       return __and_<is_convertible<_UElements&&, _Elements>...>::value;
  907     class tuple<_T1, _T2> : public _Tuple_impl<0, _T1, _T2>
  909       typedef _Tuple_impl<0, _T1, _T2> _Inherited;
  939         _TC<is_same<_Dummy, void>::value, _T1, _T2>;
  947         constexpr tuple(const _T1& __a1, const _T2& __a2)
  956         explicit constexpr tuple(const _T1& __a1, const _T2& __a2)
  961       using _TMC = _TC<true, _T1, _T2>;
  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)
 1280     : tuple_element<__i - 1, tuple<_Tail...> > { };
 1288       typedef _Head type;
 1302     constexpr _Head&
 1303     __get_helper(_Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
 1303     __get_helper(_Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
 1307     constexpr const _Head&
 1308     __get_helper(const _Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
 1308     __get_helper(const _Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
 1309     { return _Tuple_impl<__i, _Head, _Tail...>::_M_head(__t); }
 1309     { return _Tuple_impl<__i, _Head, _Tail...>::_M_head(__t); }
 1313     constexpr __tuple_element_t<__i, tuple<_Elements...>>&
 1313     constexpr __tuple_element_t<__i, tuple<_Elements...>>&
 1313     constexpr __tuple_element_t<__i, tuple<_Elements...>>&
 1314     get(tuple<_Elements...>& __t) noexcept
 1319     constexpr const __tuple_element_t<__i, tuple<_Elements...>>&
 1319     constexpr const __tuple_element_t<__i, tuple<_Elements...>>&
 1319     constexpr const __tuple_element_t<__i, tuple<_Elements...>>&
 1320     get(const tuple<_Elements...>& __t) noexcept
 1325     constexpr __tuple_element_t<__i, tuple<_Elements...>>&&
 1325     constexpr __tuple_element_t<__i, tuple<_Elements...>>&&
 1325     constexpr __tuple_element_t<__i, tuple<_Elements...>>&&
 1326     get(tuple<_Elements...>&& __t) 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
  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
 1526 	static void __test_aux(_To1);
 1538       typedef decltype(__test<_From, _To>(0)) type;
 1538       typedef decltype(__test<_From, _To>(0)) type;
 1545     : public __is_convertible_helper<_From, _To>::type
 1545     : public __is_convertible_helper<_From, _To>::type
 1554     { typedef _Tp     type; };
 1558     { 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; };
 2104     { typedef typename remove_cv<_Up>::type __type; };
 2118       typedef typename remove_reference<_Tp>::type __remove_type;
utils/unittest/googlemock/include/gmock/gmock-generated-function-mockers.h
  109     internal::FunctionMockerBase<R(A1, A2)> {
  111   typedef R F(A1, A2);
  114   MockSpec<F>& With(const Matcher<A1>& m1, const Matcher<A2>& m2) {
  119   R Invoke(A1 a1, A2 a2) {
utils/unittest/googlemock/include/gmock/gmock-matchers.h
  178   virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
  258   bool MatchAndExplain(T x, MatchResultListener* listener) const {
  263   bool Matches(T x) const {
  277   void ExplainMatchResultTo(T x, ::std::ostream* os) const {
  293   explicit MatcherBase(const MatcherInterface<T>* impl)
  310   ::testing::internal::linked_ptr<const MatcherInterface<T> > impl_;
  321 class Matcher : public internal::MatcherBase<T> {
  329   explicit Matcher(const MatcherInterface<T>* impl)
  334   Matcher(T value);  // NOLINT
  486 inline Matcher<T> MakeMatcher(const MatcherInterface<T>* impl) {
  486 inline Matcher<T> MakeMatcher(const MatcherInterface<T>* impl) {
  673 Matcher<T> A();
  861 class AnyMatcherImpl : public MatcherInterface<T> {
  864       T /* x */, MatchResultListener* /* listener */) const { return true; }
  881   operator Matcher<T>() const { return A<T>(); }
  881   operator Matcher<T>() const { return A<T>(); }
 3750 inline Matcher<T> A() { return MakeMatcher(new internal::AnyMatcherImpl<T>()); }
utils/unittest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h
   85   typedef ::testing::tuple<Matcher<A1>, Matcher<A2> > type;
  180   typedef A2 Argument2;
  181   typedef ::testing::tuple<A1, A2> ArgumentTuple;
  183   typedef void MakeResultVoid(A1, A2);
  184   typedef IgnoredValue MakeResultIgnoredValue(A1, A2);
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) {
  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);
  670 void PrintTo(const ::std::tuple<Types...>& t, ::std::ostream* os) {
  699   static void Print(const T& value, ::std::ostream* os) {
  853 void UniversalPrint(const T& value, ::std::ostream* os) {
  856   typedef T T1;
  895   typedef ::std::tuple<Types...> Tuple;
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);