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

References

include/llvm/ADT/Optional.h
  144     T value;
  165       value.~T();
  172   T &getValue() LLVM_LVALUE_FUNCTION noexcept {
  176   T const &getValue() const LLVM_LVALUE_FUNCTION noexcept {
  181   T &&getValue() && noexcept {
  197       ::new ((void *)std::addressof(value)) T(y);
  206       ::new ((void *)std::addressof(value)) T(std::move(y));
  216   optional_detail::OptionalStorage<T> Storage;
  219   using value_type = T;
  224   Optional(const T &y) : Storage(optional_detail::in_place_t{}, y) {}
  227   Optional(T &&y) : Storage(optional_detail::in_place_t{}, std::move(y)) {}
  230   Optional &operator=(T &&y) {
  241   static inline Optional create(const T *y) {
  245   Optional &operator=(const T &y) {
  253   const T *getPointer() const { return &Storage.getValue(); }
  254   T *getPointer() { return &Storage.getValue(); }
  255   const T &getValue() const LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
  256   T &getValue() LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
  260   const T *operator->() const { return getPointer(); }
  261   T *operator->() { return getPointer(); }
  262   const T &operator*() const LLVM_LVALUE_FUNCTION { return getValue(); }
  263   T &operator*() LLVM_LVALUE_FUNCTION { return getValue(); }
  266   constexpr T getValueOr(U &&value) const LLVM_LVALUE_FUNCTION {
  271   T &&getValue() && { return std::move(Storage.getValue()); }
  272   T &&operator*() && { return std::move(Storage.getValue()); }
  275   T getValueOr(U &&value) && {
  316 bool operator==(const Optional<T> &X, NoneType) {
  367 template <typename T> bool operator==(const Optional<T> &X, const T &Y) {
  367 template <typename T> bool operator==(const Optional<T> &X, const T &Y) {
include/llvm/ADT/STLExtras.h
 1224 bool is_contained(R &&Range, const E &Element) {
include/llvm/DebugInfo/CodeView/CVRecord.h
   43   Kind kind() const {
   96 inline Expected<CVRecord<Kind>> readCVRecordFromStream(BinaryStreamRef Stream,
  119                    codeview::CVRecord<Kind> &Item) {
  120     auto ExpectedRec = codeview::readCVRecordFromStream<Kind>(Stream, 0);
include/llvm/DebugInfo/CodeView/CVTypeVisitor.h
   38 Error visitMemberRecord(TypeLeafKind Kind, ArrayRef<uint8_t> Record,
include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
  113   template <typename T> Error mapEnum(T &Value, const Twine &Comment = "") {
  117     using U = typename std::underlying_type<T>::type;
include/llvm/DebugInfo/CodeView/EnumTables.h
   22 ArrayRef<EnumEntry<TypeLeafKind>> getTypeLeafNames();
include/llvm/DebugInfo/CodeView/TypeDeserializer.h
  114     RecordPrefix Pre(static_cast<uint16_t>(TypeLeafKind::LF_FIELDLIST));
  120     RecordPrefix Pre(static_cast<uint16_t>(TypeLeafKind::LF_FIELDLIST));
include/llvm/DebugInfo/CodeView/TypeRecord.h
   35 using CVType = CVRecord<TypeLeafKind>;
   36 using RemappedType = RemappedRecord<TypeLeafKind>;
   39   TypeLeafKind Kind;
include/llvm/DebugInfo/CodeView/TypeRecordMapping.h
   46   Optional<TypeLeafKind> TypeKind;
   47   Optional<TypeLeafKind> MemberKind;
include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h
   25   Error visitUnknownType(CVRecord<TypeLeafKind> &Record) override {
include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h
   28                   std::vector<codeview::TypeLeafKind> Kinds);
include/llvm/DebugInfo/PDB/Native/SymbolCache.h
  104   createTypeEnumerator(codeview::TypeLeafKind Kind);
  107   createTypeEnumerator(std::vector<codeview::TypeLeafKind> Kinds);
include/llvm/Support/BinaryStreamReader.h
   89   template <typename T> Error readEnum(T &Dest) {
   90     static_assert(std::is_enum<T>::value,
   92     typename std::underlying_type<T>::type N;
include/llvm/Support/BinaryStreamWriter.h
   74   template <typename T> Error writeEnum(T Num) {
   75     static_assert(std::is_enum<T>::value,
   78     using U = typename std::underlying_type<T>::type;
include/llvm/Support/ScopedPrinter.h
   33   T Value;
   34   EnumEntry(StringRef N, StringRef A, T V) : Name(N), AltName(A), Value(V) {}
   35   EnumEntry(StringRef N, T V) : Name(N), AltName(N), Value(V) {}
   96                  ArrayRef<EnumEntry<TEnum>> EnumValues) {
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);
  793   void enumCase(T &Val, const char* Str, const T ConstVal) {
  793   void enumCase(T &Val, const char* Str, const T ConstVal) {
  801   void enumCase(T &Val, const char* Str, const uint32_t ConstVal) {
  849   template <typename T> void mapRequired(const char *Key, T &Val) {
  941   void processKey(const char *Key, T &Val, bool Required, Context &Ctx) {
  968 typename std::enable_if<has_ScalarEnumerationTraits<T>::value, void>::type
  969 yamlize(IO &io, T &Val, bool, EmptyContext &Ctx) {
  971   ScalarEnumerationTraits<T>::enumeration(io, Val);
include/llvm/Support/type_traits.h
   91     T t;
  122     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
  122     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
  122     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
  130     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
  130     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
  130     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
  145       std::is_copy_constructible<detail::trivial_helper<T>>::value;
  147       !std::is_copy_constructible<T>::value;
  151       std::is_move_constructible<detail::trivial_helper<T>>::value;
  153       !std::is_move_constructible<T>::value;
  157       is_copy_assignable<detail::trivial_helper<T>>::value;
  159       !is_copy_assignable<T>::value;
  163       is_move_assignable<detail::trivial_helper<T>>::value;
  165       !is_move_assignable<T>::value;
  169       std::is_destructible<detail::trivial_helper<T>>::value;
lib/DebugInfo/CodeView/CVTypeVisitor.cpp
  170   TypeLeafKind Leaf;
  261 Error llvm::codeview::visitMemberRecord(TypeLeafKind Kind,
lib/DebugInfo/CodeView/ContinuationRecordBuilder.cpp
    8   ulittle16_t Kind{uint16_t(TypeLeafKind::LF_INDEX)};
   14   SegmentInjection(TypeLeafKind Kind) { Prefix.RecordKind = Kind; }
   34 static SegmentInjection InjectFieldList(TypeLeafKind::LF_FIELDLIST);
   35 static SegmentInjection InjectMethodOverloadList(TypeLeafKind::LF_METHODLIST);
   41 static inline TypeLeafKind getTypeLeafKind(ContinuationRecordKind CK) {
lib/DebugInfo/CodeView/EnumTables.cpp
   28 static const EnumEntry<TypeLeafKind> TypeLeafNames[] = {
  432 ArrayRef<EnumEntry<TypeLeafKind>> getTypeLeafNames() {
lib/DebugInfo/CodeView/RecordName.cpp
   69 Error TypeNameComputer::visitKnownRecord(CVRecord<TypeLeafKind> &CVR,
lib/DebugInfo/CodeView/TypeDumpVisitor.cpp
   23 static const EnumEntry<TypeLeafKind> LeafTypeNames[] = {
  149 static StringRef getLeafTypeName(TypeLeafKind LT) {
lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
  213     TypeLeafKind Kind =
  273 static void discoverTypeIndices(ArrayRef<uint8_t> Content, TypeLeafKind Kind,
  280   case TypeLeafKind::LF_FUNC_ID:
  284   case TypeLeafKind::LF_MFUNC_ID:
  287   case TypeLeafKind::LF_STRING_ID:
  290   case TypeLeafKind::LF_SUBSTR_LIST:
  295   case TypeLeafKind::LF_BUILDINFO:
  300   case TypeLeafKind::LF_UDT_SRC_LINE:
  304   case TypeLeafKind::LF_UDT_MOD_SRC_LINE:
  307   case TypeLeafKind::LF_MODIFIER:
  310   case TypeLeafKind::LF_PROCEDURE:
  314   case TypeLeafKind::LF_MFUNCTION:
  318   case TypeLeafKind::LF_ARGLIST:
  323   case TypeLeafKind::LF_ARRAY:
  326   case TypeLeafKind::LF_CLASS:
  327   case TypeLeafKind::LF_STRUCTURE:
  328   case TypeLeafKind::LF_INTERFACE:
  331   case TypeLeafKind::LF_UNION:
  334   case TypeLeafKind::LF_ENUM:
  337   case TypeLeafKind::LF_BITFIELD:
  340   case TypeLeafKind::LF_VFTABLE:
  343   case TypeLeafKind::LF_VTSHAPE:
  345   case TypeLeafKind::LF_METHODLIST:
  348   case TypeLeafKind::LF_FIELDLIST:
  351   case TypeLeafKind::LF_POINTER:
  496   TypeLeafKind K = static_cast<TypeLeafKind>(uint16_t(P->RecordKind));
lib/DebugInfo/CodeView/TypeRecordMapping.cpp
   22 static const EnumEntry<TypeLeafKind> LeafTypeNames[] = {
   27 static StringRef getLeafTypeName(TypeLeafKind LT) {
   83                              ArrayRef<EnumEntry<TEnum>> EnumValues) {
  195   if (CVR.kind() != TypeLeafKind::LF_FIELDLIST &&
  196       CVR.kind() != TypeLeafKind::LF_METHODLIST)
  202     auto RecordKind = CVR.kind();
lib/DebugInfo/CodeView/TypeStreamMerger.cpp
  205 static bool isIdRecord(TypeLeafKind K) {
  207   case TypeLeafKind::LF_FUNC_ID:
  208   case TypeLeafKind::LF_MFUNC_ID:
  209   case TypeLeafKind::LF_STRING_ID:
  210   case TypeLeafKind::LF_SUBSTR_LIST:
  211   case TypeLeafKind::LF_BUILDINFO:
  212   case TypeLeafKind::LF_UDT_SRC_LINE:
  213   case TypeLeafKind::LF_UDT_MOD_SRC_LINE:
lib/DebugInfo/PDB/Native/NativeEnumTypes.cpp
   25                                  std::vector<codeview::TypeLeafKind> Kinds)
   30     TypeLeafKind K = CVT.kind();
   35     } else if (K == TypeLeafKind::LF_MODIFIER) {
lib/DebugInfo/PDB/Native/SymbolCache.cpp
   74 SymbolCache::createTypeEnumerator(TypeLeafKind Kind) {
   79 SymbolCache::createTypeEnumerator(std::vector<TypeLeafKind> Kinds) {
lib/ObjectYAML/CodeViewYAMLTypes.cpp
   79   TypeLeafKind Kind;
   81   explicit LeafRecordBase(TypeLeafKind K) : Kind(K) {}
   90   explicit LeafRecordImpl(TypeLeafKind K)
  108   explicit LeafRecordImpl(TypeLeafKind K) : LeafRecordBase(K) {}
  118   TypeLeafKind Kind;
  120   explicit MemberRecordBase(TypeLeafKind K) : Kind(K) {}
  128   explicit MemberRecordImpl(TypeLeafKind K)
  194                                                         TypeLeafKind &Value) {
  474     TypeLeafKind K = static_cast<TypeLeafKind>(Record.getKind());
  715 static void mapLeafRecordImpl(IO &IO, const char *Class, TypeLeafKind Kind,
  727   TypeLeafKind Kind;
  747 static void mapMemberRecordImpl(IO &IO, const char *Class, TypeLeafKind Kind,
  756   TypeLeafKind Kind;
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.cpp
  135 PDB_SymType lldb_private::npdb::CVTypeToPDBType(TypeLeafKind kind) {
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.h
  111 llvm::pdb::PDB_SymType CVTypeToPDBType(llvm::codeview::TypeLeafKind kind);
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
  237 static bool IsClassRecord(TypeLeafKind kind) {
tools/llvm-pdbutil/FormatUtil.cpp
  159 StringRef llvm::pdb::formatTypeLeafKind(TypeLeafKind K) {
tools/llvm-pdbutil/FormatUtil.h
   70 StringRef formatTypeLeafKind(codeview::TypeLeafKind K);
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)
  475 	{ __a.construct(__p, std::forward<_Args>(__args)...); }
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/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
  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/shared_ptr.h
  202 	shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a)
  343 		   _Args&&... __args)
  344 	: __shared_ptr<_Tp>(__tag, __a, std::forward<_Args>(__args)...)
  688     allocate_shared(const _Alloc& __a, _Args&&... __args)
  691 			     std::forward<_Args>(__args)...);
  703     make_shared(_Args&&... __args)
  707 				       std::forward<_Args>(__args)...);
usr/include/c++/7.4.0/bits/shared_ptr_base.h
 1111         __shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a)
 1317 		     _Args&&... __args)
 1328 			      std::forward<_Args>(__args)...);
usr/include/c++/7.4.0/bits/stl_algo.h
 3900 	 const _Tp& __val)
usr/include/c++/7.4.0/bits/stl_algobase.h
  356         static _Tp*
  357         __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result)
  357         __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result)
  357         __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result)
  361 					   is_move_assignable<_Tp>,
  362 					   is_copy_assignable<_Tp>>;
  368 	    __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
usr/include/c++/7.4.0/bits/stl_construct.h
  204 	     allocator<_Tp>&)
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;
  192       typedef _Tp                         value_type;
  194       typedef const _Tp*                  pointer;
  195       typedef const _Tp&                  reference;
usr/include/c++/7.4.0/bits/stl_uninitialized.h
  288 			   _ForwardIterator __result, allocator<_Tp>&)
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*
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;
   84 	new_allocator(const new_allocator<_Tp1>&) _GLIBCXX_USE_NOEXCEPT { }
  111 	return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
  130       { return size_t(-1) / sizeof(_Tp); }
  135 	construct(_Up* __p, _Args&&... __args)
  136 	{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
usr/include/c++/7.4.0/initializer_list
   50       typedef _E 		value_type;
   51       typedef const _E& 	reference;
   52       typedef const _E& 	const_reference;
   54       typedef const _E* 	iterator;
   55       typedef const _E* 	const_iterator;
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
  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
  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>>>
  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
 1142     : public is_constructible<_Tp, const _Tp&>
 1142     : public is_constructible<_Tp, const _Tp&>
 1148     : public __is_copy_constructible_impl<_Tp>
 1160     : public is_constructible<_Tp, _Tp&&>
 1160     : public is_constructible<_Tp, _Tp&&>
 1166     : public __is_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>
 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; };