|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
lib/Bitcode/Reader/MetadataLoader.h 24 class BitstreamCursor;
tools/clang/include/clang/Serialization/GlobalModuleIndex.h 28 class BitstreamCursor;
tools/clang/include/clang/Serialization/ModuleFileExtension.h 17 class BitstreamCursor;
References
include/llvm/ADT/Optional.h 39 T value;
72 T &getValue() LLVM_LVALUE_FUNCTION noexcept {
76 T const &getValue() const LLVM_LVALUE_FUNCTION noexcept {
81 T &&getValue() && noexcept {
89 ::new ((void *)std::addressof(value)) T(std::forward<Args>(args)...);
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) && {
include/llvm/Bitcode/BitcodeAnalyzer.h 50 BitstreamCursor Stream;
53 Optional<BitstreamCursor> BlockInfoStream;
include/llvm/Remarks/BitstreamRemarkParser.h 31 BitstreamCursor &Stream;
45 BitstreamMetaParserHelper(BitstreamCursor &Stream,
56 BitstreamCursor &Stream;
81 BitstreamRemarkParserHelper(BitstreamCursor &Stream);
91 BitstreamCursor Stream;
include/llvm/Support/AlignOf.h 30 T t;
39 template <typename T> union SizerImpl<T> { char arr[sizeof(T)]; };
50 llvm::detail::SizerImpl<T, Ts...>)];
include/llvm/Support/Error.h 437 static const bool isRef = std::is_reference<T>::value;
439 using wrap = std::reference_wrapper<typename std::remove_reference<T>::type>;
444 using storage_type = typename std::conditional<isRef, wrap, T>::type;
445 using value_type = T;
448 using reference = typename std::remove_reference<T>::type &;
449 using const_reference = const typename std::remove_reference<T>::type &;
450 using pointer = typename std::remove_reference<T>::type *;
451 using const_pointer = const typename std::remove_reference<T>::type *;
474 Expected(OtherT &&Val,
475 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
475 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
483 new (getStorage()) storage_type(std::forward<OtherT>(Val));
492 Expected(Expected<OtherT> &&Other,
493 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
493 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
594 template <class OtherT> void moveConstruct(Expected<OtherT> &&Other) {
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/Bitcode/Reader/BitcodeAnalyzer.cpp 407 static Expected<CurStreamTypeType> ReadSignature(BitstreamCursor &Stream) {
461 BitstreamCursor &Stream) {
560 BitstreamCursor BlockInfoCursor(*BlockInfoStream);
791 Stream.advance(BitstreamCursor::AF_DontAutoprocessAbbrevs);
lib/Bitcode/Reader/BitcodeReader.cpp 108 static Error hasInvalidBitcodeHeader(BitstreamCursor &Stream) {
129 static Expected<BitstreamCursor> initStream(MemoryBufferRef Buffer) {
142 BitstreamCursor Stream(ArrayRef<uint8_t>(BufPtr, BufEnd));
173 static Expected<std::string> readIdentificationBlock(BitstreamCursor &Stream) {
223 static Expected<std::string> readIdentificationCode(BitstreamCursor &Stream) {
258 static Expected<bool> hasObjCCategoryInModule(BitstreamCursor &Stream) {
305 static Expected<bool> hasObjCCategory(BitstreamCursor &Stream) {
339 static Expected<std::string> readModuleTriple(BitstreamCursor &Stream) {
384 static Expected<std::string> readTriple(BitstreamCursor &Stream) {
421 BitcodeReaderBase(BitstreamCursor Stream, StringRef Strtab)
427 BitstreamCursor Stream;
570 BitcodeReader(BitstreamCursor Stream, StringRef Strtab,
811 ModuleSummaryIndexBitcodeReader(BitstreamCursor Stream, StringRef Strtab,
857 BitcodeReader::BitcodeReader(BitstreamCursor Stream, StringRef Strtab,
2038 BitstreamCursor &Stream) {
5349 BitstreamCursor Cursor, StringRef Strtab, ModuleSummaryIndex &TheIndex,
6274 static Expected<StringRef> readBlobInRecord(BitstreamCursor &Stream,
6326 Expected<BitstreamCursor> StreamOrErr = initStream(Buffer);
6329 BitstreamCursor &Stream = *StreamOrErr;
6445 BitstreamCursor Stream(Buffer);
6497 BitstreamCursor Stream(Buffer);
6508 BitstreamCursor Stream(Buffer);
6522 static Expected<bool> getEnableSplitLTOUnitFlag(BitstreamCursor &Stream,
6569 BitstreamCursor Stream(Buffer);
6670 Expected<BitstreamCursor> StreamOrErr = initStream(Buffer);
6678 Expected<BitstreamCursor> StreamOrErr = initStream(Buffer);
6686 Expected<BitstreamCursor> StreamOrErr = initStream(Buffer);
lib/Bitcode/Reader/MetadataLoader.cpp 424 BitstreamCursor &Stream;
432 BitstreamCursor IndexCursor;
635 MetadataLoaderImpl(BitstreamCursor &Stream, Module &TheModule,
690 BitstreamCursor::AF_DontPopBlockAtEnd);
750 BitstreamCursor::AF_DontPopBlockAtEnd);
2132 MetadataLoader::MetadataLoader(BitstreamCursor &Stream, Module &TheModule,
lib/Bitcode/Reader/MetadataLoader.h 42 MetadataLoader(BitstreamCursor &Stream, Module &TheModule,
lib/Bitstream/Reader/BitstreamReader.cpp 67 static Expected<uint64_t> readAbbreviatedField(BitstreamCursor &Cursor,
91 static Error skipAbbreviatedField(BitstreamCursor &Cursor,
lib/Remarks/BitstreamRemarkParser.cpp 38 BitstreamCursor &Stream, BitstreamBlockInfo &BlockInfo)
43 BitstreamCursor &Stream = Parser.Stream;
85 BitstreamCursor &Stream)
90 BitstreamCursor &Stream = Parser.Stream;
160 BitstreamCursor &Stream = ParserHelper.Stream;
249 static Expected<bool> isBlock(BitstreamCursor &Stream, unsigned BlockID) {
tools/clang/include/clang/Frontend/SerializedDiagnosticReader.h 72 llvm::ErrorOr<Cursor> skipUntilRecordOrBlock(llvm::BitstreamCursor &Stream,
76 std::error_code readMetaBlock(llvm::BitstreamCursor &Stream);
79 std::error_code readDiagnosticBlock(llvm::BitstreamCursor &Stream);
tools/clang/include/clang/Serialization/ASTReader.h 614 llvm::BitstreamCursor &Cursor,
619 llvm::BitstreamCursor &Cursor,
1286 llvm::BitstreamCursor &Stream, unsigned ClientLoadCapabilities,
1309 llvm::BitstreamCursor &SLocCursorForID(int ID);
1908 static bool ReadBlockAbbrevs(llvm::BitstreamCursor &Cursor, unsigned BlockID);
2352 SmallVector<std::pair<llvm::BitstreamCursor,
2391 Expected<unsigned> readRecord(llvm::BitstreamCursor &Cursor,
2688 explicit SavedStreamPosition(llvm::BitstreamCursor &Cursor)
2699 llvm::BitstreamCursor &Cursor;
tools/clang/include/clang/Serialization/GlobalModuleIndex.h 118 llvm::BitstreamCursor Cursor);
tools/clang/include/clang/Serialization/Module.h 190 llvm::BitstreamCursor Stream;
220 llvm::BitstreamCursor InputFilesCursor;
241 llvm::BitstreamCursor SLocEntryCursor;
298 llvm::BitstreamCursor MacroCursor;
323 llvm::BitstreamCursor PreprocessorDetailCursor;
405 llvm::BitstreamCursor DeclsCursor;
tools/clang/include/clang/Serialization/ModuleFileExtension.h 99 const llvm::BitstreamCursor &Stream) = 0;
tools/clang/lib/Frontend/SerializedDiagnosticReader.cpp 37 llvm::BitstreamCursor Stream(**Buffer);
117 llvm::BitstreamCursor &Stream, unsigned &BlockOrRecordID) {
162 SerializedDiagnosticReader::readMetaBlock(llvm::BitstreamCursor &Stream) {
211 SerializedDiagnosticReader::readDiagnosticBlock(llvm::BitstreamCursor &Stream) {
tools/clang/lib/Frontend/TestModuleFileExtension.cpp 45 const llvm::BitstreamCursor &InStream)
115 const llvm::BitstreamCursor &Stream)
tools/clang/lib/Frontend/TestModuleFileExtension.h 37 llvm::BitstreamCursor Stream;
42 Reader(ModuleFileExtension *Ext, const llvm::BitstreamCursor &InStream);
66 const llvm::BitstreamCursor &Stream) override;
tools/clang/lib/Serialization/ASTReader.cpp 1145 BitstreamCursor &Cursor,
1195 BitstreamCursor &Cursor,
1314 BitstreamCursor &SLocEntryCursor = F.SLocEntryCursor;
1473 BitstreamCursor &SLocEntryCursor = F->SLocEntryCursor;
1625 bool ASTReader::ReadBlockAbbrevs(BitstreamCursor &Cursor, unsigned BlockID) {
1673 BitstreamCursor &Stream = F.MacroCursor;
1692 unsigned Flags = BitstreamCursor::AF_DontPopBlockAtEnd;
1942 BitstreamCursor &MacroCursor = I.MacroCursor;
1948 BitstreamCursor Cursor = MacroCursor;
2095 BitstreamCursor &Cursor = M.MacroCursor;
2115 Cursor.advance(BitstreamCursor::AF_DontPopBlockAtEnd);
2217 BitstreamCursor &Cursor = F.InputFilesCursor;
2285 BitstreamCursor &Cursor = F.InputFilesCursor;
2472 BitstreamCursor &Stream, unsigned ClientLoadCapabilities,
2563 BitstreamCursor &Stream = F.Stream;
2924 BitstreamCursor &Stream = F.Stream;
3025 BitstreamCursor C = Stream;
4115 static bool SkipCursorToBlock(BitstreamCursor &Cursor, unsigned BlockID) {
4398 static llvm::Error doesntStartWithASTFileMagic(BitstreamCursor &Stream) {
4495 BitstreamCursor &Stream = F.Stream;
4643 BitstreamCursor Stream(StreamData);
4736 BitstreamCursor &Stream = F.Stream;
4943 BitstreamCursor Stream(PCH);
4998 BitstreamCursor Stream(PCHContainerRdr.ExtractPCH(**Buffer));
5111 BitstreamCursor Stream(Bytes);
5126 BitstreamCursor InputFilesCursor;
5232 BitstreamCursor &Cursor = InputFilesCursor;
5296 BitstreamCursor SavedStream = Stream;
5899 M.PreprocessorDetailCursor.advance(BitstreamCursor::AF_DontPopBlockAtEnd);
6319 BitstreamCursor &DeclsCursor = Loc.F->DeclsCursor;
7657 BitstreamCursor &Cursor = Loc.F->DeclsCursor;
7692 BitstreamCursor &Cursor = Loc.F->DeclsCursor;
9743 for (SmallVectorImpl<std::pair<BitstreamCursor,
9749 BitstreamCursor &Cursor = I->first;
9757 BitstreamCursor::AF_DontPopBlockAtEnd);
12261 Expected<unsigned> ASTRecordReader::readRecord(llvm::BitstreamCursor &Cursor,
tools/clang/lib/Serialization/ASTReaderDecl.cpp 3613 llvm::BitstreamCursor &DeclsCursor = Loc.F->DeclsCursor;
3984 llvm::BitstreamCursor &Cursor = F->DeclsCursor;
4066 llvm::BitstreamCursor &Cursor = M->DeclsCursor;
tools/clang/lib/Serialization/ASTReaderStmt.cpp 72 llvm::BitstreamCursor &DeclsCursor;
109 ASTStmtReader(ASTRecordReader &Record, llvm::BitstreamCursor &Cursor)
2438 llvm::BitstreamCursor &Cursor = F.DeclsCursor;
tools/clang/lib/Serialization/GlobalModuleIndex.cpp 129 llvm::BitstreamCursor Cursor)
266 llvm::BitstreamCursor Cursor(*Buffer);
539 llvm::BitstreamCursor InStream(PCHContainerRdr.ExtractPCH(**Buffer));
tools/clang/tools/extra/clang-doc/BitcodeReader.h 32 ClangDocBitcodeReader(llvm::BitstreamCursor &Stream) : Stream(Stream) {}
67 llvm::BitstreamCursor &Stream;
tools/clang/tools/extra/clang-doc/tool/ClangDocMain.cpp 278 llvm::BitstreamCursor Stream(Bitcode);
tools/clang/tools/extra/unittests/clang-doc/BitcodeTest.cpp 45 llvm::BitstreamCursor Stream(Bitcode);
unittests/Bitstream/BitstreamReaderTest.cpp 22 BitstreamCursor Cursor(Bytes);
43 BitstreamCursor Cursor(Bytes);
50 BitstreamCursor Cursor(ArrayRef<uint8_t>{});
117 BitstreamCursor Stream(
128 Stream.advance(BitstreamCursor::AF_DontAutoprocessAbbrevs);
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/stl_pair.h 100 return __and_<is_constructible<_T1, const _U1&>,
100 return __and_<is_constructible<_T1, const _U1&>,
107 return __and_<is_convertible<const _U1&, _T1>,
107 return __and_<is_convertible<const _U1&, _T1>,
114 return __and_<is_constructible<_T1, _U1&&>,
114 return __and_<is_constructible<_T1, _U1&&>,
121 return __and_<is_convertible<_U1&&, _T1>,
121 return __and_<is_convertible<_U1&&, _T1>,
128 using __do_converts = __and_<is_convertible<const _U1&, _T1>,
128 using __do_converts = __and_<is_convertible<const _U1&, _T1>,
133 return __and_<is_constructible<_T1, const _U1&>,
133 return __and_<is_constructible<_T1, const _U1&>,
142 using __do_converts = __and_<is_convertible<_U1&&, _T1>,
142 using __do_converts = __and_<is_convertible<_U1&&, _T1>,
147 return __and_<is_constructible<_T1, _U1&&>,
147 return __and_<is_constructible<_T1, _U1&&>,
209 : private __pair_base<_T1, _T2>
211 typedef _T1 first_type; /// @c first_type is the first bound type
214 _T1 first; /// @c first is a copy of the first 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)
325 constexpr pair(const _T1& __x, _U2&& __y)
332 explicit pair(const _T1& __x, _U2&& __y)
341 constexpr pair(_U1&& __x, _U2&& __y)
379 __and_<is_copy_assignable<_T1>,
390 __and_<is_move_assignable<_T1>,
402 typename enable_if<__and_<is_assignable<_T1&, const _U1&>,
402 typename enable_if<__and_<is_assignable<_T1&, const _U1&>,
405 operator=(const pair<_U1, _U2>& __p)
413 typename enable_if<__and_<is_assignable<_T1&, _U1&&>,
413 typename enable_if<__and_<is_assignable<_T1&, _U1&&>,
416 operator=(pair<_U1, _U2>&& __p)
524 make_pair(_T1&& __x, _T2&& __y)
usr/include/c++/7.4.0/bits/unique_ptr.h 824 make_unique(_Args&&... __args)
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
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>
1304 : public is_assignable<_Tp&, _Tp&&>
1304 : public is_assignable<_Tp&, _Tp&&>
1310 : public __is_move_assignable_impl<_Tp>
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; };
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; };
2131 typedef _Tp __type;
2171 { typedef _Iffalse type; };