Lines Matching refs:Error

33 #include "llvm/Support/Error.h"
590 Error LTO::add(std::unique_ptr<InputFile> Input,
602 if (Error Err = addModule(*Input, I, ResI, Res.end()))
606 return Error::success();
609 Error LTO::addModule(InputFile &Input, unsigned ModI,
644 if (Error Err = BM.readSummary(ThinLTO.CombinedIndex, "", -1ull))
647 return Error::success();
696 if (Error Err = M.materializeMetadata())
800 Error LTO::linkRegularLTO(RegularLTOState::AddedModule Mod,
828 Error LTO::addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
831 if (Error Err =
872 return Error::success();
882 Error LTO::checkPartiallySplit() {
884 return Error::success();
916 return Error::success();
919 Error LTO::run(AddStreamFn AddStream, NativeObjectCache Cache) {
957 if (Error Err = linkRegularLTO(std::move(M),
962 if (Error Err = checkPartiallySplit())
965 Error Result = runRegularLTO(AddStream);
975 Error LTO::runRegularLTO(AddStreamFn AddStream) {
1007 return Error::success();
1029 RegularLTO.CombinedModule->addModuleFlag(Module::Error, "LTOPostLink", 1);
1033 return Error::success();
1063 virtual Error start(
1069 virtual Error wait() = 0;
1080 Optional<Error> Err;
1100 Error runThinLTOBackendThread(
1135 return Error::success();
1138 Error start(
1156 Error E = runThinLTOBackendThread(
1169 return Error::success();
1172 Error wait() override {
1177 return Error::success();
1230 Error start(
1263 return Error::success();
1266 Error wait() override { return Error::success(); }
1282 Error LTO::runThinLTO(AddStreamFn AddStream, NativeObjectCache Cache,
1285 return Error::success();
1289 return Error::success();
1390 if (Error E = BackendProc->start(Task, Mod.second, ImportLists[Mod.first],
1414 if (Error E = ResultOrErr.takeError())