Home
last modified time | relevance | path

Searched refs:IndexOrErr (Results 1 – 4 of 4) sorted by relevance

/external/llvm/tools/llvm-link/
Dllvm-link.cpp204 ErrorOr<std::unique_ptr<ModuleSummaryIndex>> IndexOrErr = in importFunctions() local
206 std::error_code EC = IndexOrErr.getError(); in importFunctions()
211 auto Index = std::move(IndexOrErr.get()); in importFunctions()
313 ErrorOr<std::unique_ptr<ModuleSummaryIndex>> IndexOrErr = in linkFiles() local
315 std::error_code EC = IndexOrErr.getError(); in linkFiles()
320 auto Index = std::move(IndexOrErr.get()); in linkFiles()
/external/llvm/tools/llvm-lto/
Dllvm-lto.cpp290 ErrorOr<std::unique_ptr<ModuleSummaryIndex>> IndexOrErr = in createCombinedModuleSummaryIndex() local
292 error(IndexOrErr, "error " + CurrentActivity); in createCombinedModuleSummaryIndex()
293 std::unique_ptr<ModuleSummaryIndex> Index = std::move(IndexOrErr.get()); in createCombinedModuleSummaryIndex()
360 ErrorOr<std::unique_ptr<ModuleSummaryIndex>> IndexOrErr = in loadCombinedIndex() local
362 error(IndexOrErr, "error " + CurrentActivity); in loadCombinedIndex()
363 return std::move(IndexOrErr.get()); in loadCombinedIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DELF.h326 auto IndexOrErr = getSectionIndex(Sym, Symbols, ShndxTable); in getSection() local
327 if (!IndexOrErr) in getSection()
328 return IndexOrErr.takeError(); in getSection()
329 uint32_t Index = *IndexOrErr; in getSection()
/external/clang/lib/CodeGen/
DBackendUtil.cpp706 ErrorOr<std::unique_ptr<ModuleSummaryIndex>> IndexOrErr = in EmitAssembly() local
711 if (std::error_code EC = IndexOrErr.getError()) { in EmitAssembly()
717 ModuleSummary = std::move(IndexOrErr.get()); in EmitAssembly()