Searched refs:MOrErr (Results 1 – 6 of 6) sorted by relevance
147 ErrorOr<std::unique_ptr<Module>> MOrErr = in openInputFile() local150 if (!MOrErr) in openInputFile()151 return errorCodeToError(MOrErr.getError()); in openInputFile()152 (*MOrErr)->materializeMetadata(); in openInputFile()153 return std::move(*MOrErr); in openInputFile()165 ErrorOr<std::unique_ptr<Module>> MOrErr = in openInputFile() local167 (*MOrErr)->materializeAll(); in openInputFile()168 return std::move(*MOrErr); in openInputFile()184 Expected<std::unique_ptr<Module>> MOrErr = openInputFile(Context); in main() local185 if (!MOrErr) { in main()[all …]
128 ErrorOr<std::unique_ptr<Module>> MOrErr = in convertLLVMToSPIRV() local131 if (std::error_code EC = MOrErr.getError()) { in convertLLVMToSPIRV()136 std::unique_ptr<Module> M = std::move(*MOrErr); in convertLLVMToSPIRV()248 ErrorOr<std::unique_ptr<Module>> MOrErr = in regularizeLLVM() local251 if (std::error_code EC = MOrErr.getError()) { in regularizeLLVM()256 std::unique_ptr<Module> M = std::move(*MOrErr); in regularizeLLVM()
81 ErrorOr<std::unique_ptr<Module>> MOrErr = parseBitcodeFile( in splitCodeGen() local85 if (!MOrErr) in splitCodeGen()87 std::unique_ptr<Module> MPartInCtx = std::move(MOrErr.get()); in splitCodeGen()
138 Expected<NewArchiveMember> MOrErr = in libDriverMain() local140 if (!MOrErr) { in libDriverMain()141 handleAllErrors(MOrErr.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in libDriverMain()146 Members.emplace_back(std::move(*MOrErr)); in libDriverMain()
320 ErrorOr<std::unique_ptr<Module>> MOrErr = in create() local323 if (std::error_code EC = MOrErr.getError()) in create()326 std::unique_ptr<Module> &M = MOrErr.get(); in create()
201 ErrorOr<std::unique_ptr<Module>> MOrErr = in makeLTOModule() local203 if (std::error_code EC = MOrErr.getError()) in makeLTOModule()205 std::unique_ptr<Module> &M = *MOrErr; in makeLTOModule()