Searched refs:ModuleOrErr (Results 1 – 6 of 6) sorted by relevance
57 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = parseBitcodeFile(Buf, Ctx); in LLVMParseBitcodeInContext() local61 if (ModuleOrErr.getError()) { in LLVMParseBitcodeInContext()68 *OutModule = wrap(ModuleOrErr.get().release()); in LLVMParseBitcodeInContext()78 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = parseBitcodeFile(Buf, Ctx); in LLVMParseBitcodeInContext2() local79 if (ModuleOrErr.getError()) { in LLVMParseBitcodeInContext2()84 *OutModule = wrap(ModuleOrErr.get().release()); in LLVMParseBitcodeInContext2()103 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in LLVMGetBitcodeModuleInContext() local108 if (ModuleOrErr.getError()) { in LLVMGetBitcodeModuleInContext()115 *OutM = wrap(ModuleOrErr.get().release()); in LLVMGetBitcodeModuleInContext()126 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in LLVMGetBitcodeModuleInContext2() local[all …]
37 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = getLazyBitcodeModule( in getLazyIRModule() local39 if (std::error_code EC = ModuleOrErr.getError()) { in getLazyIRModule()44 return std::move(ModuleOrErr.get()); in getLazyIRModule()72 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in parseIR() local74 if (std::error_code EC = ModuleOrErr.getError()) { in parseIR()79 return std::move(ModuleOrErr.get()); in parseIR()
26 ErrorOr<std::unique_ptr<Module>> ModuleOrErr(nullptr); in loadModuleFromBuffer() local28 ModuleOrErr = in loadModuleFromBuffer()32 ModuleOrErr = parseBitcodeFile(Buffer, Context); in loadModuleFromBuffer()34 if (std::error_code EC = ModuleOrErr.getError()) { in loadModuleFromBuffer()40 return std::move(ModuleOrErr.get()); in loadModuleFromBuffer()
60 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in getLazyModuleFromAssembly() local62 return std::move(ModuleOrErr.get()); in getLazyModuleFromAssembly()89 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in getStreamedModuleFromAssembly() local91 return std::move(ModuleOrErr.get()); in getStreamedModuleFromAssembly()
734 ErrorOr<std::unique_ptr<llvm::Module>> ModuleOrErr = in CreateASTConsumer() local736 if (std::error_code EC = ModuleOrErr.getError()) { in CreateASTConsumer()742 addLinkModule(ModuleOrErr.get().release(), I.first); in CreateASTConsumer()
773 ErrorOr<std::unique_ptr<LTOModule>> ModuleOrErr = in main() local775 std::unique_ptr<LTOModule> &Module = *ModuleOrErr; in main()