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

Derived Classes

include/llvm/BinaryFormat/MsgPackDocument.h
  197 class MapDocNode : public DocNode {
  217 class ArrayDocNode : public DocNode {
lib/BinaryFormat/MsgPackDocumentYAML.cpp
   24 struct ScalarDocNode : DocNode {

References

include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h
   36   bool verifyScalar(msgpack::DocNode &Node, msgpack::Type SKind,
   37                     function_ref<bool(msgpack::DocNode &)> verifyValue = {});
   38   bool verifyInteger(msgpack::DocNode &Node);
   39   bool verifyArray(msgpack::DocNode &Node,
   40                    function_ref<bool(msgpack::DocNode &)> verifyNode,
   43                    function_ref<bool(msgpack::DocNode &)> verifyNode);
   47                     function_ref<bool(msgpack::DocNode &)> verifyValue = {});
   50   bool verifyKernelArgs(msgpack::DocNode &Node);
   51   bool verifyKernel(msgpack::DocNode &Node);
   61   bool verify(msgpack::DocNode &HSAMetadataRoot);
include/llvm/BinaryFormat/MsgPackDocument.h
   42   typedef std::map<DocNode, DocNode> MapTy;
   42   typedef std::map<DocNode, DocNode> MapTy;
   43   typedef std::vector<DocNode> ArrayTy;
  146   friend bool operator<(const DocNode &Lhs, const DocNode &Rhs) {
  146   friend bool operator<(const DocNode &Lhs, const DocNode &Rhs) {
  176   friend bool operator==(const DocNode &Lhs, const DocNode &Rhs) {
  176   friend bool operator==(const DocNode &Lhs, const DocNode &Rhs) {
  197 class MapDocNode : public DocNode {
  200   MapDocNode(DocNode &N) : DocNode(N) { assert(getKind() == Type::Map); }
  207   MapTy::iterator find(DocNode Key) { return Map->find(Key); }
  211   DocNode &operator[](StringRef S);
  213   DocNode &operator[](DocNode Key);
  213   DocNode &operator[](DocNode Key);
  217 class ArrayDocNode : public DocNode {
  220   ArrayDocNode(DocNode &N) : DocNode(N) { assert(getKind() == Type::Array); }
  227   void push_back(DocNode N) {
  233   DocNode &operator[](size_t Index);
  242   std::vector<std::unique_ptr<DocNode::MapTy>> Maps;
  243   std::vector<std::unique_ptr<DocNode::ArrayTy>> Arrays;
  247   DocNode Root;
  263   DocNode &getRoot() { return Root; }
  269   DocNode getNode() {
  270     auto N = DocNode(&KindAndDocs[size_t(Type::Nil)]);
  275   DocNode getNode(int64_t V) {
  276     auto N = DocNode(&KindAndDocs[size_t(Type::Int)]);
  282   DocNode getNode(int V) {
  283     auto N = DocNode(&KindAndDocs[size_t(Type::Int)]);
  289   DocNode getNode(uint64_t V) {
  290     auto N = DocNode(&KindAndDocs[size_t(Type::UInt)]);
  296   DocNode getNode(unsigned V) {
  297     auto N = DocNode(&KindAndDocs[size_t(Type::UInt)]);
  303   DocNode getNode(bool V) {
  304     auto N = DocNode(&KindAndDocs[size_t(Type::Boolean)]);
  310   DocNode getNode(double V) {
  311     auto N = DocNode(&KindAndDocs[size_t(Type::Float)]);
  318   DocNode getNode(StringRef V, bool Copy = false) {
  321     auto N = DocNode(&KindAndDocs[size_t(Type::String)]);
  328   DocNode getNode(const char *V, bool Copy = false) {
  334     auto N = DocNode(&KindAndDocs[size_t(Type::Map)]);
  335     Maps.push_back(std::unique_ptr<DocNode::MapTy>(new DocNode::MapTy));
  342     auto N = DocNode(&KindAndDocs[size_t(Type::Array)]);
  343     Arrays.push_back(std::unique_ptr<DocNode::ArrayTy>(new DocNode::ArrayTy));
include/llvm/Support/YAMLTraits.h
  313   using Signature_enumeration = void (*)(class IO&, T&);
  322     (sizeof(test<ScalarEnumerationTraits<T>>(nullptr)) == 1);
  329   using Signature_bitset = void (*)(class IO&, T&);
  337   static bool const value = (sizeof(test<ScalarBitSetTraits<T>>(nullptr)) == 1);
  344   using Signature_input = StringRef (*)(StringRef, void*, T&);
  345   using Signature_output = void (*)(const T&, void*, raw_ostream&);
  357       (sizeof(test<ScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
  364   using Signature_input = StringRef (*)(StringRef, void *, T &);
  365   using Signature_output = void (*)(const T &, void *, raw_ostream &);
  375       (sizeof(test<BlockScalarTraits<T>>(nullptr, nullptr)) == 1);
  380   using Signature_input = StringRef (*)(StringRef, StringRef, void *, T &);
  381   using Signature_output = void (*)(const T &, void *, raw_ostream &,
  383   using Signature_mustQuote = QuotingType (*)(const T &, StringRef);
  393       (sizeof(test<TaggedScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
  412   using Signature_mapping = void (*)(class IO &, T &);
  419   static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1);
  438   using Signature_validate = StringRef (*)(class IO &, T &);
  445   static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1);
  452   using Signature_size = size_t (*)(class IO&, T&);
  460   static bool const value =  (sizeof(test<SequenceTraits<T>>(nullptr)) == 1);
  467   using Signature_input = void (*)(IO &io, StringRef key, T &v);
  476       (sizeof(test<CustomMappingTraits<T>>(nullptr)) == 1);
  516   using Signature_size = size_t (*)(class IO &, T &);
  524   static bool const value = (sizeof(test<DocumentListTraits<T>>(nullptr))==1);
  528   using Signature_getKind = NodeKind (*)(const T &);
  535   static bool const value = (sizeof(test<PolymorphicTraits<T>>(nullptr)) == 1);
  849   template <typename T> void mapRequired(const char *Key, T &Val) {
  941   void processKey(const char *Key, T &Val, bool Required, Context &Ctx) {
 1107 typename std::enable_if<has_PolymorphicTraits<T>::value, void>::type
 1108 yamlize(IO &io, T &Val, bool, EmptyContext &Ctx) {
 1109   switch (io.outputting() ? PolymorphicTraits<T>::getKind(Val)
 1112     return yamlize(io, PolymorphicTraits<T>::getAsScalar(Val), true, Ctx);
 1114     return yamlize(io, PolymorphicTraits<T>::getAsMap(Val), true, Ctx);
 1116     return yamlize(io, PolymorphicTraits<T>::getAsSequence(Val), true, Ctx);
 1753 inline typename std::enable_if<has_PolymorphicTraits<T>::value, Input &>::type
 1754 operator>>(Input &In, T &Val) {
 1852 inline typename std::enable_if<has_PolymorphicTraits<T>::value, Output &>::type
 1853 operator<<(Output &Out, T &Val) {
lib/BinaryFormat/AMDGPUMetadataVerifier.cpp
   23     msgpack::DocNode &Node, msgpack::Type SKind,
   24     function_ref<bool(msgpack::DocNode &)> verifyValue) {
   44 bool MetadataVerifier::verifyInteger(msgpack::DocNode &Node) {
   52     msgpack::DocNode &Node, function_ref<bool(msgpack::DocNode &)> verifyNode,
   52     msgpack::DocNode &Node, function_ref<bool(msgpack::DocNode &)> verifyNode,
   59   for (auto &Item : Array)
   68     function_ref<bool(msgpack::DocNode &)> verifyNode) {
   78     function_ref<bool(msgpack::DocNode &)> verifyValue) {
   91 bool MetadataVerifier::verifyKernelArgs(msgpack::DocNode &Node) {
  198 bool MetadataVerifier::verifyKernel(msgpack::DocNode &Node) {
  283 bool MetadataVerifier::verify(msgpack::DocNode &HSAMetadataRoot) {
lib/BinaryFormat/MsgPackDocument.cpp
   30 DocNode::MapTy::iterator MapDocNode::find(StringRef S) {
   36 DocNode &MapDocNode::operator[](StringRef S) {
   41 DocNode &MapDocNode::operator[](DocNode Key) {
   41 DocNode &MapDocNode::operator[](DocNode Key) {
   53 DocNode &ArrayDocNode::operator[](size_t Index) {
   63   DocNode Node;
   66   DocNode *MapEntry;
   96     DocNode Node;
  172   DocNode Node;
  173   DocNode::MapTy::iterator MapIt;
  174   DocNode::ArrayTy::iterator ArrayIt;
  184   DocNode Node = getRoot();
lib/BinaryFormat/MsgPackDocumentYAML.cpp
   24 struct ScalarDocNode : DocNode {
   25   ScalarDocNode(DocNode N) : DocNode(N) {}
  149   static NodeKind getKind(const DocNode &N) {
  160   static MapDocNode &getAsMap(DocNode &N) { return N.getMap(/*Convert=*/true); }
  162   static ArrayDocNode &getAsSequence(DocNode &N) {
  167   static ScalarDocNode &getAsScalar(DocNode &N) {
  228   static DocNode &element(IO &IO, ArrayDocNode &A, size_t Index) {
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h
   99   msgpack::DocNode &getRootMetadata(StringRef Key) {
  103   msgpack::DocNode &getHSAMetadataRoot() {
lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
  165   auto N = It->second;
  180   auto &N = getRegisters()[MsgPackDoc.getNode(Reg)];
  570   auto &RegsObj = refRegisters();
  574     auto Key = I.first;
  631   auto &RegsObj = refRegisters();
  632   auto OrigRegs = RegsObj;
  637     auto Key = I.first;
  654 msgpack::DocNode &AMDGPUPALMetadata::refRegisters() {
  655   auto &N =
lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.h
   31   msgpack::DocNode Registers;
   32   msgpack::DocNode HwStages;
  118   msgpack::DocNode &refRegisters();
unittests/BinaryFormat/MsgPackDocumentTest.cpp
   31   auto SI = A[0];
   34   auto SN = A[1];
   50   auto FooS = M["foo"];
   53   auto BarS = M["bar"];
  108   auto SI = A[0];
  111   auto SS = A[1];
  162   auto SI = M["foo"];
  165   auto SS = M["baz"];
usr/include/c++/7.4.0/bits/algorithmfwd.h
  255     fill(_FIter, _FIter, const _Tp&);
usr/include/c++/7.4.0/bits/alloc_traits.h
  387       using allocator_type = allocator<_Tp>;
  389       using value_type = _Tp;
  392       using pointer = _Tp*;
  395       using const_pointer = const _Tp*;
  474 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
  474 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
  486 	destroy(allocator_type& __a, _Up* __p)
usr/include/c++/7.4.0/bits/allocator.h
  108     class allocator: public __allocator_base<_Tp>
  113       typedef _Tp*       pointer;
  114       typedef const _Tp* const_pointer;
  115       typedef _Tp&       reference;
  116       typedef const _Tp& const_reference;
  117       typedef _Tp        value_type;
  137 	allocator(const allocator<_Tp1>&) throw() { }
usr/include/c++/7.4.0/bits/cpp_type_traits.h
  329     : public __traitor<__is_integer<_Tp>, __is_floating<_Tp> >
  329     : public __traitor<__is_integer<_Tp>, __is_floating<_Tp> >
  337     : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> >
  337     : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> >
usr/include/c++/7.4.0/bits/move.h
   46     inline _GLIBCXX_CONSTEXPR _Tp*
   47     __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
   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
  104     : public __and_<__not_<is_nothrow_move_constructible<_Tp>>,
  105                     is_copy_constructible<_Tp>>::type { };
  136     inline _GLIBCXX17_CONSTEXPR _Tp*
  137     addressof(_Tp& __r) noexcept
  143     const _Tp* addressof(const _Tp&&) = delete;
  143     const _Tp* addressof(const _Tp&&) = delete;
usr/include/c++/7.4.0/bits/ptr_traits.h
  126       typedef _Tp* pointer;
  128       typedef _Tp  element_type;
  141       pointer_to(__make_not_void<element_type>& __r) noexcept
  141       pointer_to(__make_not_void<element_type>& __r) noexcept
usr/include/c++/7.4.0/bits/stl_algobase.h
  680     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, void>::__type
  682  	     const _Tp& __value)
usr/include/c++/7.4.0/bits/stl_construct.h
   74     _Construct(_T1* __p, _Args&&... __args)
   74     _Construct(_T1* __p, _Args&&... __args)
   75     { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
   75     { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
  204 	     allocator<_Tp>&)
usr/include/c++/7.4.0/bits/stl_function.h
  121       typedef _Arg1 	first_argument_type; 
  124       typedef _Arg2 	second_argument_type;
  381     struct less : public binary_function<_Tp, _Tp, bool>
  381     struct less : public binary_function<_Tp, _Tp, bool>
  385       operator()(const _Tp& __x, const _Tp& __y) const
  385       operator()(const _Tp& __x, const _Tp& __y) const
usr/include/c++/7.4.0/bits/stl_iterator.h
 1224     __make_move_if_noexcept_iterator(_Tp* __i)
usr/include/c++/7.4.0/bits/stl_iterator_base_types.h
  181       typedef _Tp                         value_type;
  183       typedef _Tp*                        pointer;
  184       typedef _Tp&                        reference;
usr/include/c++/7.4.0/bits/stl_map.h
  102       typedef _Key					key_type;
  103       typedef _Tp					mapped_type;
  104       typedef std::pair<const _Key, _Tp>		value_type;
  104       typedef std::pair<const _Key, _Tp>		value_type;
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;
  114 	return __and_<is_constructible<_T1, _U1&&>,
  115 		      is_constructible<_T2, _U2&&>>::value;
  115 		      is_constructible<_T2, _U2&&>>::value;
  121 	return __and_<is_convertible<_U1&&, _T1>,
  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&&>,
  142 	using __do_converts = __and_<is_convertible<_U1&&, _T1>,
  143 				  is_convertible<const _U2&, _T2>>;
  143 				  is_convertible<const _U2&, _T2>>;
  147 	return __and_<is_constructible<_T1, _U1&&>,
  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)
  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)
  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,
usr/include/c++/7.4.0/bits/stl_tree.h
  563       typedef _Key 				key_type;
  758       static const _Key&
  782       static const _Key&
  894 		     const _Key& __k);
  898 		     const _Key& __k) const;
  902 		     const _Key& __k);
  906 		     const _Key& __k) const;
usr/include/c++/7.4.0/bits/stl_uninitialized.h
  204 			const _Tp& __x)
  244     uninitialized_fill_n(_ForwardIterator __first, _Size __n, const _Tp& __x)
  288 			   _ForwardIterator __result, allocator<_Tp>&)
  344 			     const _Tp& __x, _Allocator& __alloc)
  365 			     const _Tp& __x, allocator<_Tp2>&)
  365 			     const _Tp& __x, allocator<_Tp2>&)
usr/include/c++/7.4.0/bits/stl_vector.h
   77 	rebind<_Tp>::other _Tp_alloc_type;
  216     class vector : protected _Vector_base<_Tp, _Alloc>
  227       typedef _Vector_base<_Tp, _Alloc>			_Base;
  232       typedef _Tp					value_type;
  919       _Tp*
  923       const _Tp*
 1455 	  _Temporary_value(vector* __vec, _Args&&... __args) : _M_this(__vec)
 1472 	typename aligned_storage<sizeof(_Tp), alignof(_Tp)>::type __buf;
 1472 	typename aligned_storage<sizeof(_Tp), alignof(_Tp)>::type __buf;
 1483 	_M_realloc_insert(iterator __position, _Args&&... __args);
usr/include/c++/7.4.0/ext/alloc_traits.h
  117       { typedef typename _Base_type::template rebind_alloc<_Tp> other; };
usr/include/c++/7.4.0/ext/new_allocator.h
   63       typedef _Tp*       pointer;
   64       typedef const _Tp* const_pointer;
   65       typedef _Tp&       reference;
   66       typedef const _Tp& const_reference;
   67       typedef _Tp        value_type;
  111 	return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
  130       { return size_t(-1) / sizeof(_Tp); }
  135 	construct(_Up* __p, _Args&&... __args)
  135 	construct(_Up* __p, _Args&&... __args)
  136 	{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
  140 	destroy(_Up* __p) { __p->~_Up(); }
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
  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
 1215     : public __and_<is_constructible<_Tp, _Args...>,
 1216 		    __is_nt_constructible_impl<_Tp, _Args...>>
 1246     : public is_nothrow_constructible<_Tp, _Tp&&>
 1246     : public is_nothrow_constructible<_Tp, _Tp&&>
 1252     : public __is_nothrow_move_constructible_impl<_Tp>
 1286     : public is_assignable<_Tp&, const _Tp&>
 1286     : public is_assignable<_Tp&, const _Tp&>
 1292     : public __is_copy_assignable_impl<_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; };
 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; };
 1955     { typedef _Tp     type; };
 2171     { typedef _Iffalse type; };