HomeSort by: relevance | last modified time | path
    Searched refs:Expected (Results 1 - 25 of 654) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/
MultiFormatConfig.h 28 virtual Expected<const ELFConfig &> getELFConfig() const = 0;
29 virtual Expected<const COFFConfig &> getCOFFConfig() const = 0;
30 virtual Expected<const MachOConfig &> getMachOConfig() const = 0;
31 virtual Expected<const WasmConfig &> getWasmConfig() const = 0;
ConfigManager.h 30 Expected<const ELFConfig &> getELFConfig() const override;
31 Expected<const COFFConfig &> getCOFFConfig() const override;
32 Expected<const MachOConfig &> getMachOConfig() const override;
33 Expected<const WasmConfig &> getWasmConfig() const override;
59 Expected<DriverConfig>
66 Expected<DriverConfig>
72 Expected<DriverConfig> parseBitcodeStripOptions(ArrayRef<const char *> ArgsArr);
78 Expected<DriverConfig>
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Transformer/
Parsing.h 35 llvm::Expected<RangeSelector> parseRangeSelector(llvm::StringRef Input);
  /src/external/apache2/llvm/dist/llvm/include/llvm/XRay/
FileHeaderReader.h 26 Expected<XRayFileHeader> readBinaryFormatHeader(DataExtractor &HeaderExtractor,
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;
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);
  /src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/
MsgPackReader.h 124 Expected<bool> read(Object &Obj);
137 template <class T> Expected<bool> readRaw(Object &Obj);
138 template <class T> Expected<bool> readInt(Object &Obj);
139 template <class T> Expected<bool> readUInt(Object &Obj);
140 template <class T> Expected<bool> readLength(Object &Obj);
141 template <class T> Expected<bool> readExt(Object &Obj);
142 Expected<bool> createRaw(Object &Obj, uint32_t Size);
143 Expected<bool> createExt(Object &Obj, uint32_t Size);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Remarks/
RemarkFormat.h 28 Expected<Format> parseFormat(StringRef FormatStr);
31 Expected<Format> magicToFormat(StringRef Magic);
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>>
  /src/external/apache2/llvm/dist/llvm/tools/llvm-rc/
ResourceScriptParser.h 35 using ParseType = Expected<std::unique_ptr<RCResource>>;
36 using ParseOptionType = Expected<std::unique_ptr<OptionalStmt>>;
41 ParserError(const Twine &Expected, const LocIter CurLoc, const LocIter End);
83 Expected<RCInt> readInt(); // Parse an integer.
84 Expected<StringRef> readString(); // Parse a string.
85 Expected<StringRef> readIdentifier(); // Parse an identifier.
86 Expected<StringRef> readFilename(); // Parse a filename.
87 Expected<IntOrString> readIntOrString(); // Parse an integer or a string.
88 Expected<IntOrString> readTypeOrName(); // Parse an integer or an identifier.
91 Expected<IntWithNotMask> parseIntExpr1()
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
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)) {}
63 : Expected<T>(std::move(Val)) {}
67 Expected<OtherT> &&Other
    [all...]
CachePruning.h 22 template <typename T> class Expected;
68 Expected<CachePruningPolicy> parseCachePruningPolicy(StringRef PolicyStr);
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/Symbolize/
Symbolize.h 62 Expected<DILineInfo> symbolizeCode(const ObjectFile &Obj,
64 Expected<DILineInfo> symbolizeCode(const std::string &ModuleName,
66 Expected<DIInliningInfo>
69 Expected<DIInliningInfo>
73 Expected<DIGlobal> symbolizeData(const ObjectFile &Obj,
75 Expected<DIGlobal> symbolizeData(const std::string &ModuleName,
77 Expected<std::vector<DILocal>>
79 Expected<std::vector<DILocal>>
94 Expected<DILineInfo>
98 Expected<DIInliningInfo
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Object/
ArchiveWriter.h 29 static Expected<NewArchiveMember>
32 static Expected<NewArchiveMember> getFile(StringRef FileName,
36 Expected<std::string> computeArchiveRelativePath(StringRef From, StringRef To);
45 Expected<std::unique_ptr<MemoryBuffer>>
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<StringRef> getName() const
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
SnippetFile.h 29 Expected<std::vector<BenchmarkCode>> readSnippets(const LLVMState &State,
BenchmarkRunner.h 42 Expected<InstructionBenchmark>
70 virtual Expected<int64_t> runAndMeasure(const char *Counters) const = 0;
72 virtual Expected<llvm::SmallVector<int64_t, 4>>
81 virtual Expected<std::vector<BenchmarkMeasure>>
84 Expected<std::string> writeObjectFile(const BenchmarkCode &Configuration,
  /src/external/apache2/llvm/dist/llvm/lib/Remarks/
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<std::unique_ptr<YAMLRemarkParser>
    [all...]
YAMLRemarkParser.cpp 25 assert(Ctx && "Expected non-null Ctx in diagnostic handler.");
27 assert(Message.empty() && "Expected an empty string.");
60 static Expected<bool> parseMagic(StringRef &Buf) {
70 static Expected<uint64_t> parseVersion(StringRef &Buf) {
81 ", expected %" PRId64 ".",
87 static Expected<uint64_t> parseStrTabSize(StringRef &Buf) {
98 static Expected<ParsedStringTable> parseStrTab(StringRef &Buf,
107 return Expected<ParsedStringTable>(std::move(Result));
110 Expected<std::unique_ptr<YAMLRemarkParser>>
115 Expected<bool> isMeta = parseMagic(Buf)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Object/
IRObjectFile.cpp 50 Expected<uint32_t> IRObjectFile::getSymbolFlags(DataRefImpl Symb) const {
73 Expected<MemoryBufferRef>
77 Expected<StringRef> Contents = Sec.getContents();
89 Expected<MemoryBufferRef>
99 Expected<std::unique_ptr<ObjectFile>> ObjFile =
110 Expected<std::unique_ptr<IRObjectFile>>
112 Expected<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object);
116 Expected<std::vector<BitcodeModule>> BMsOrErr =
123 Expected<std::unique_ptr<Module>> MOrErr =
136 Expected<IRSymtabFile> object::readIRSymtab(MemoryBufferRef MBRef)
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/
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<SymbolStream &> getPDBSymbolStream()
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/
RemoteJITUtils.h 47 static Expected<std::unique_ptr<ChildProcessJITLinkExecutor>>
51 static Expected<std::unique_ptr<ChildProcessJITLinkExecutor>>
57 static Expected<std::unique_ptr<TCPSocketJITLinkExecutor>>
61 Expected<std::unique_ptr<ObjectLayer>> operator()(ExecutionSession &,
66 Expected<std::unique_ptr<DefinitionGenerator>>
69 Expected<int> runAsMain(JITEvaluatedSymbol MainSym,
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/Extract/
Extract.h 27 static Expected<ExtractFunction> initiate(RefactoringRuleContext &Context,
38 Expected<AtomicChanges>
  /src/external/apache2/llvm/dist/clang/lib/DirectoryWatcher/windows/
DirectoryWatcher-windows.cpp 43 llvm::Expected<std::unique_ptr<DirectoryWatcher>>
48 return llvm::Expected<std::unique_ptr<DirectoryWatcher>>(
  /src/external/apache2/llvm/dist/llvm/include/llvm/Bitcode/
BitcodeReader.h 37 // These functions are for converting Expected/Error values to
44 ErrorOr<T> expectedToErrorOrAndEmitErrors(LLVMContext &Ctx, Expected<T> Val) {
80 friend Expected<BitcodeFileContents>
83 Expected<std::unique_ptr<Module>>
101 Expected<std::unique_ptr<Module>> getLazyModule(LLVMContext &Context,
106 Expected<std::unique_ptr<Module>> parseModule(
112 Expected<BitcodeLTOInfo> getLTOInfo();
115 Expected<std::unique_ptr<ModuleSummaryIndex>> getSummary();
133 Expected<BitcodeFileContents> getBitcodeFileContents(MemoryBufferRef Buffer);
136 Expected<std::vector<BitcodeModule>
    [all...]

Completed in 76 milliseconds

1 2 3 4 5 6 7 8 91011>>