/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/XRay/ |
H A D | FileHeaderReader.h | 26 Expected<XRayFileHeader> readBinaryFormatHeader(DataExtractor &HeaderExtractor,
|
H A D | FDRRecordProducer.h | 23 virtual Expected<std::unique_ptr<Record>> produce() = 0; 35 Expected<std::unique_ptr<Record>> findNextBufferExtent(); 44 Expected<std::unique_ptr<Record>> produce() override;
|
H A D | Trace.h | 53 friend Expected<Trace> loadTrace(const DataExtractor &, bool); 71 Expected<Trace> loadTraceFile(StringRef Filename, bool Sort = false); 75 Expected<Trace> loadTrace(const DataExtractor &Extractor, bool Sort = false);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | MsgPackReader.h | 122 Expected<bool> read(Object &Obj); 135 template <class T> Expected<bool> readRaw(Object &Obj); 136 template <class T> Expected<bool> readInt(Object &Obj); 137 template <class T> Expected<bool> readUInt(Object &Obj); 138 template <class T> Expected<bool> readLength(Object &Obj); 139 template <class T> Expected<bool> readExt(Object &Obj); 140 Expected<bool> createRaw(Object &Obj, uint32_t Size); 141 Expected<bool> createExt(Object &Obj, uint32_t Size);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Remarks/ |
H A D | RemarkFormat.h | 28 Expected<Format> parseFormat(StringRef FormatStr); 31 Expected<Format> magicToFormat(StringRef Magic);
|
H A D | RemarkParser.h | 52 virtual Expected<std::unique_ptr<Remark>> next() = 0; 75 Expected<StringRef> operator[](size_t Index) const; 78 Expected<std::unique_ptr<RemarkParser>> createRemarkParser(Format ParserFormat, 81 Expected<std::unique_ptr<RemarkParser>> 85 Expected<std::unique_ptr<RemarkParser>>
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | MSVCErrorWorkarounds.h | 10 // constructible, so this header provides analogues of Error an Expected 13 // FIXME: Kill off this header and migrate all users to Error/Expected once we 41 // A default-constructible llvm::Expected that is suitable for use with MSVC's 43 template <typename T> class MSVCPExpected : public Expected<T> { 46 : Expected<T>(make_error<StringError>("", inconvertibleErrorCode())) { 50 MSVCPExpected(MSVCPExpected &&Other) : Expected<T>(std::move(Other)) {} 53 Expected<T>::operator=(std::move(Other)); 57 MSVCPExpected(Error Err) : Expected<T>(std::move(Err)) {} 64 : Expected<T>(std::move(Val)) {} 68 Expected<Other [all...] |
H A D | CachePruning.h | 22 template <typename T> class Expected; 67 Expected<CachePruningPolicy> parseCachePruningPolicy(StringRef PolicyStr);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Bitcode/ |
H A D | BitcodeReader.h | 34 // These functions are for converting Expected/Error values to 41 ErrorOr<T> expectedToErrorOrAndEmitErrors(LLVMContext &Ctx, Expected<T> Val) { 77 friend Expected<BitcodeFileContents> 80 Expected<std::unique_ptr<Module>> getModuleImpl(LLVMContext &Context, 98 Expected<std::unique_ptr<Module>> getLazyModule(LLVMContext &Context, 103 Expected<std::unique_ptr<Module>> parseModule(LLVMContext &Context); 107 Expected<BitcodeLTOInfo> getLTOInfo(); 110 Expected<std::unique_ptr<ModuleSummaryIndex>> getSummary(); 128 Expected<BitcodeFileContents> getBitcodeFileContents(MemoryBufferRef Buffer); 131 Expected<st [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/TextAPI/MachO/ |
H A D | TextAPIReader.h | 22 static Expected<std::unique_ptr<InterfaceFile>>
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | Archive.h | 46 Expected<StringRef> getRawName() const; 49 Expected<StringRef> getName(uint64_t Size) const; 51 Expected<uint64_t> getSize() const; 53 Expected<sys::fs::perms> getAccessMode() const; 54 Expected<sys::TimePoint<std::chrono::seconds>> getLastModified() const; 61 Expected<unsigned> getUID() const; 62 Expected<unsigned> getGID() const; 98 Expected<bool> isThinMember() const; 110 Expected<Child> getNext() const; 112 Expected<StringRe [all...] |
H A D | ArchiveWriter.h | 32 static Expected<NewArchiveMember> 35 static Expected<NewArchiveMember> getFile(StringRef FileName, 39 Expected<std::string> computeArchiveRelativePath(StringRef From, StringRef To);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Remarks/ |
H A D | YAMLRemarkParser.h | 68 Expected<std::unique_ptr<Remark>> next() override; 83 Expected<std::unique_ptr<Remark>> parseRemark(yaml::Document &Remark); 85 Expected<Type> parseType(yaml::MappingNode &Node); 87 Expected<StringRef> parseKey(yaml::KeyValueNode &Node); 89 virtual Expected<StringRef> parseStr(yaml::KeyValueNode &Node); 91 Expected<unsigned> parseUnsigned(yaml::KeyValueNode &Node); 93 Expected<RemarkLocation> parseDebugLoc(yaml::KeyValueNode &Node); 95 Expected<Argument> parseArg(yaml::Node &Node); 109 Expected<StringRef> parseStr(yaml::KeyValueNode &Node) override; 112 Expected<st [all...] |
H A D | RemarkLinker.cpp | 23 static Expected<StringRef> 32 Expected<Optional<StringRef>> 34 Expected<StringRef> SectionName = getRemarksSectionName(Obj); 39 Expected<StringRef> MaybeName = Section.getName(); 45 if (Expected<StringRef> Contents = Section.getContents()) 68 Expected<Format> ParserFormat = magicToFormat(Buffer); 74 Expected<std::unique_ptr<RemarkParser>> MaybeParser = 85 Expected<std::unique_ptr<Remark>> Next = Parser.next(); 104 Expected<Optional<StringRef>> SectionOrErr = getRemarksSectionContents(Obj); 114 Expected<st [all...] |
H A D | YAMLRemarkParser.cpp | 26 assert(Ctx && "Expected non-null Ctx in diagnostic handler."); 28 assert(Message.empty() && "Expected an empty string."); 61 static Expected<bool> parseMagic(StringRef &Buf) { 71 static Expected<uint64_t> parseVersion(StringRef &Buf) { 88 static Expected<uint64_t> parseStrTabSize(StringRef &Buf) { 99 static Expected<ParsedStringTable> parseStrTab(StringRef &Buf, 108 return Expected<ParsedStringTable>(std::move(Result)); 111 Expected<std::unique_ptr<YAMLRemarkParser>> 116 Expected<bool> isMeta = parseMagic(Buf); 122 Expected<uint64_ [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | IRObjectFile.cpp | 73 Expected<MemoryBufferRef> 77 Expected<StringRef> Contents = Sec.getContents(); 89 Expected<MemoryBufferRef> 98 Expected<std::unique_ptr<ObjectFile>> ObjFile = 109 Expected<std::unique_ptr<IRObjectFile>> 111 Expected<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); 115 Expected<std::vector<BitcodeModule>> BMsOrErr = 122 Expected<std::unique_ptr<Module>> MOrErr = 135 Expected<IRSymtabFile> object::readIRSymtab(MemoryBufferRef MBRef) { 137 Expected<MemoryBufferRe [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | PDBFile.h | 70 Expected<ArrayRef<uint8_t>> getBlockData(uint32_t BlockIndex, 89 Expected<std::unique_ptr<msf::MappedBlockStream>> 91 Expected<std::unique_ptr<msf::MappedBlockStream>> 100 Expected<InfoStream &> getPDBInfoStream(); 101 Expected<DbiStream &> getPDBDbiStream(); 102 Expected<GlobalsStream &> getPDBGlobalsStream(); 103 Expected<TpiStream &> getPDBTpiStream(); 104 Expected<TpiStream &> getPDBIpiStream(); 105 Expected<PublicsStream &> getPDBPublicsStream(); 106 Expected<SymbolStrea [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Extract/ |
H A D | Extract.h | 27 static Expected<ExtractFunction> initiate(RefactoringRuleContext &Context, 38 Expected<AtomicChanges>
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitstream/Reader/ |
H A D | BitstreamReader.cpp | 36 Expected<uint32_t> MaybeVBR = ReadVBR(bitc::CodeLenWidth); 48 Expected<word_t> MaybeNum = Read(bitc::BlockSizeWidth); 67 static Expected<uint64_t> readAbbreviatedField(BitstreamCursor &Cursor, 83 if (Expected<unsigned> Res = Cursor.Read(6)) 92 Expected<unsigned> BitstreamCursor::skipRecord(unsigned AbbrevID) { 95 Expected<uint32_t> MaybeCode = ReadVBR(6); 99 Expected<uint32_t> MaybeVBR = ReadVBR(6); 104 if (Expected<uint64_t> Res = ReadVBR64(6)) 122 Expected<uint64_t> MaybeCode = readAbbreviatedField(*this, CodeOp); 135 if (Expected<uint64_ [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/DirectoryWatcher/windows/ |
H A D | DirectoryWatcher-windows.cpp | 43 llvm::Expected<std::unique_ptr<DirectoryWatcher>> 48 return llvm::Expected<std::unique_ptr<DirectoryWatcher>>(
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/TextAPI/ELF/ |
H A D | TBEHandler.h | 36 Expected<std::unique_ptr<ELFStub>> readTBEFromBuffer(StringRef Buf);
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
H A D | RefactoringActionRuleRequirements.h | 28 /// 'Expected<T> evaluate(RefactoringRuleContext &) const' member function. 32 /// 'Expected<SourceRange> evaluate(RefactoringRuleContext &Context) const' 37 // Expected<T> evaluate(RefactoringRuleContext &Context) const; 48 Expected<SourceRange> evaluate(RefactoringRuleContext &Context) const { 62 Expected<SelectedASTNode> evaluate(RefactoringRuleContext &Context) const; 76 Expected<CodeRangeASTSelection> 105 Expected<typename OptionType::ValueType>
|
H A D | RefactoringActionRules.h | 56 Expected<AtomicChanges> Changes = createSourceReplacements(Context); 64 virtual Expected<AtomicChanges> 78 Expected<SymbolOccurrences> Occurrences = findSymbolOccurrences(Context); 86 virtual Expected<SymbolOccurrences>
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/LTO/ |
H A D | Caching.h | 33 Expected<NativeObjectCache> localCache(StringRef CacheDirectoryPath,
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/DirectoryWatcher/default/ |
H A D | DirectoryWatcher-not-implemented.cpp | 14 llvm::Expected<std::unique_ptr<DirectoryWatcher>> clang::DirectoryWatcher::create(
|