Home
last modified time | relevance | path

Searched refs:IndexOrErr (Results 1 – 8 of 8) 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-project/clang/unittests/CrossTU/
DCrossTranslationUnitTest.cpp190 llvm::Expected<llvm::StringMap<std::string>> IndexOrErr = in TEST() local
192 EXPECT_TRUE((bool)IndexOrErr); in TEST()
193 llvm::StringMap<std::string> ParsedIndex = IndexOrErr.get(); in TEST()
/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-10.0/llvm/include/llvm/Object/
DELF.h365 auto IndexOrErr = getSectionIndex(Sym, Symbols, ShndxTable); in getSection() local
366 if (!IndexOrErr) in getSection()
367 return IndexOrErr.takeError(); in getSection()
368 uint32_t Index = *IndexOrErr; in getSection()
/external/llvm-project/llvm/include/llvm/Object/
DELF.h383 auto IndexOrErr = getSectionIndex(Sym, Symbols, ShndxTable); in getSection() local
384 if (!IndexOrErr) in getSection()
385 return IndexOrErr.takeError(); in getSection()
386 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()
/external/llvm-project/clang/lib/CodeGen/
DBackendUtil.cpp1541 Expected<std::unique_ptr<ModuleSummaryIndex>> IndexOrErr = in EmitBackendOutput() local
1544 if (!IndexOrErr) { in EmitBackendOutput()
1545 logAllUnhandledErrors(IndexOrErr.takeError(), errs(), in EmitBackendOutput()
1550 std::unique_ptr<ModuleSummaryIndex> CombinedIndex = std::move(*IndexOrErr); in EmitBackendOutput()
/external/llvm-project/llvm/tools/llvm-readobj/
DELFDumper.cpp3982 Expected<uint32_t> IndexOrErr = object::getExtendedSymbolTableIndex<ELFT>( in getSymbolSectionNdx() local
3984 if (!IndexOrErr) { in getSymbolSectionNdx()
3988 this->reportUniqueWarning(IndexOrErr.takeError()); in getSymbolSectionNdx()
3991 return to_string(format_decimal(*IndexOrErr, 3)); in getSymbolSectionNdx()