Searched refs:errorOrToExpected (Results 1 – 11 of 11) sorted by relevance
54 ExitOnErr(errorOrToExpected(MemoryBuffer::getFileOrSTDIN(InputFilename))); in main()
91 errorOrToExpected(MemoryBuffer::getFileOrSTDIN(Path)); in openBitcodeFile()
333 ExitOnErr(errorOrToExpected(MemoryBuffer::getFileOrSTDIN(Identifier))); in importFunctions()414 ExitOnErr(errorOrToExpected(std::move(BufferOrErr))); in linkFiles()
109 auto BufferOrErr = errorOrToExpected(MemoryBuffer::getFile(Filename)); in get()116 auto BufferOrErr = errorOrToExpected(MemoryBuffer::getFile(Filename)); in get()
437 return ExitOnErr(errorOrToExpected(MemoryBuffer::getFileOrSTDIN(Filename))); in loadFile()495 ExitOnErr(errorOrToExpected(MemoryBuffer::getFileOrSTDIN(Filename))); in createCombinedModuleSummaryIndex()996 ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(Filename))); in main()
1226 template <typename T> Expected<T> errorOrToExpected(ErrorOr<T> &&EO) { in errorOrToExpected() function
1149 auto Obj = ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(ObjPath))); in runOrcJIT()
1129 auto A = errorOrToExpected(MemoryBuffer::getFile(std::get<0>(OrcRuntime))); in operator ()()
980 ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(ClReadSummary))); in runForTesting()
1873 ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(ClReadSummary))); in runForTesting()
3895 errorOrToExpected(MemoryBuffer::getFile(MemProfImportSummary)); in MemProfContextDisambiguation()